aras.getItemByName Method
Gets Item node by Item name. System will load data from server when:- Item node exists in cache and is dirty, but contained levels is less than requested levels.
- Item node does not exists in cache.
Syntax
aras.getItemByName(typeName,name,levels,configPath,select)Parameters
Name | Type | Description |
---|---|---|
typeName | String | Required. Item type. |
name | String | Required. Item name. |
levels | String | Optional. Expanding depth for Relationships. Default is 0. |
configPath | String | Optional. RelationshipType name which should be loaded together. Default is empty. When specifying this parameter, "levels" must be greater than zero. If there are various values, use "|" to separate. |
select | String | Optional. The Property to return. Separating by comma. Default is empty (select all Properties). |
Return Value
An Object or Null.Returns Item node if the data is loaded successfully, otherwise returns Null.
See Also
aras ObjectAras Innovator Client Framework
Comments
Post a Comment