Tuesday, 17 May 2011

How to get the logical name of the entity for the current record in CRM 2011 using Javascript

Code Snippet:  var entityName = Xrm.Page.data.entity.getEntityName();
 
 For instance , if the current record is contact the above code will return a string "contact"

No comments:

Post a Comment