GetEntityName Function
Returns the name of the entity.
Syntax 1
GetEntityName()
Returns the name of the entity.
Syntax 2
GetEntityName(element)
Returns the name of the entity.
Arguments
element
Any - element whose entity name is to be determined. Can only be entity type fields or entity collection members.
Remarks
- For entity type elements(Fields/Collections) returns the name of the referenced Entity.
Example:
GetEntityName(Field1); // returns "Entity1"