Runtime representation of a Collection Member.
|
||
Parameters: fieldName Type: string The name of the Field to return |
||
Description: Attempts to get a child Field from the CollectionMember instance. Only can be used with Entity and Complex fields. |
||
Code Sample: var session = inrule.createRuleSession(); var entity1 = session.createEntity("Entity1"); var collection = entity1.getCollection("Collection1"); |
|
||
Parameters: collectionName Type: string The name of the Collection to return |
||
Description: Attempts to get a child collection from the CollectionMember instance. Only can be used with Entity and Complex fields. |
||
Code Sample: var session = inrule.createRuleSession(); var entity1 = session.createEntity("Entity1"); var collection = entity1.getCollection("Collection1"); |
|
||
Description: Returns the object bound to the current CollectionMember |
||
Code Sample: var session = inrule.createRuleSession(); var boundValue = {"Collection1": [{"FirstName": "John"}]}; |
|
||
Description: Returns a string of the CollectionMember's name |
||
Code Sample: var session = inrule.createRuleSession(); var entity1 = session.createEntity("Entity1"); var collection = entity1.getCollection("Collection1"); |
|
||
Description: Returns an AuthoringMetadata object for the CollectionMember |
||
Code Sample: var session = inrule.createRuleSession(); var entity1 = session.createEntity("Entity1"); var collection = entity1.getCollection("Collection1"); |
Comments
0 comments
Please sign in to leave a comment.