MobileCRM.MetaEntity - Resconet/JSBridge GitHub Wiki

MobileCRM.MetaEntity Object

Represents an entity metadata.

Properties

Property Type Description
isEnabled Boolean Indicates whether an entity is enabled. This field is used for limited runtime customization.
isExternal Boolean Indicates whether an entity stores data from external sources Exchange/Google.
name String Gets the entity (logical) name.
objectTypeCode Number Gets the unique entity type code.
primaryFieldName String The name of the entity primary field (name) property.
primaryKeyName String The name of the entity primary key property.
relationshipName String Gets the name of the many-to-many relationship name. Defined only for intersect entities.
statusFieldName String Gets the status property name. In general it is called "statuscode" but there are exceptions.
uploadOnly Boolean Indicates whether this entity can be downloaded during synchronization.
attributes Number Gets additional entity attributes.

Methods

Method Description
canAppendTo Checks whether the user has permission to append a child To a this parent entity.
canCreate Checks whether the current user has create permission on the entity type.
canDelete Checks whether the current user has create permission on the entity type.
canRead Checks whether the current user has read permission on the entity type.
canWrite Checks whether the current user has write permission on the entity type.
getDepth Gets the permission depth.
getProperty Gets the MetaProperty object describing the CRM attribute (field) properties.

Functions

Function Description
loadByName Gets the MetaEntity by its name.
⚠️ **GitHub.com Fallback** ⚠️