"тнιѕ вℓσg ¢συℓ∂ ѕανє уσυя мσηєу ιƒ тιмє = мσηєу" - ∂.мαηנαℓу
Showing posts with label How to get the logical name of the entity for the current record in CRM 2011 using Javascript. Show all posts
Showing posts with label How to get the logical name of the entity for the current record in CRM 2011 using Javascript. Show all posts

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"