GetIndex Function

  • Updated

Returns the current index of a collection member in its parent collection. If it exists in multiple collections, only its index in the first authored collection is returned.

Syntax

 

Returns the current index of a collection member in its parent collection. If it exists in multiple collections, only its index in the first authored collection is returned.

 

GetIndex()

Remarks

  • If the parent collection is an Entity Collection, it must have Parent Context selected.
  • If the collection is an Entity collection, and the Entity collection member is present in more than one collection, the GetIndex function will only return the member index relative to the first authored collection in the parent Entity.
  • Example: GetIndex() returns the index of the current member in its parent collection.

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.