Skip to content

Entity Properties

Mihir Maruti Kadam edited this page Mar 27, 2017 · 3 revisions

getEntityName

Get current entity name.

//Type : String
var enitityLogicalName = MK.FSGEntity.logicalName;

getId

Returns a string representing the GUID id value for the record.

//Type : String
var id = MK.FSGEntity.id;

getIsDirty

Returns a string representing the GUID id value for the record.

//Type : Boolean
var isDirty = MK.FSGEntity.isDirty;

allAttributes

Provides methods to access the data for a record displayed on the form.

//Type : Array
var allAttributes = MK.FSGEntity.allAttributes;

getDataXml

Returns a string representing the XML that will be sent to the server when the record is saved.

//Type : String
var xml = MK.FSGEntity.dataXml;

getPrimaryAttributeValue

Gets a string for the value of the primary attribute of the entity.

//Type : String
var primaryValue = MK.FSGEntity.primaryAttributevalue;
Clone this wiki locally