Currently viewing the category:
"Entity Type Code"
This is a followup to my previous post about How to get the Entity Type Code in CRM 2011. While that method works, it requires you to go to a page and manually get the type code for the entity. What we really need is a way through script to get the entity type [...]
How to get the Entity Type Code in CRM 2011
By Eric W. Cahoon On 13 June 2011 · 3 Comments · In CRM 2011, CRM2011, Entity Type Code, EntityTypeCode, Microsoft Dynamics CRM, ObjectTypeCode
In CRM 4.0 you can get the ObjectTypeCode by using crmForm.ObjectTypeCode. Unfortunately, in CRM 2011 there is no explicit method in the Xrm namespace that returns the EntityTypeCode/ObjectTypeCode. However, you can easily get the EntityTypeCode by using the Xrm.Page.context.getQueryStringParameters() method. This method will return an object with properties for each parameter in the query string. [...]

Tags
401 2011 AccessRight ActiveX addcustomview Automation server can't create object Browser Checkbox Chrome CRM CRM 2011 CRM2011 Default Organization display Entity Type Code EntityTypeCode event External filter height JavaScript Matchcode Update Microsoft Dynamics CRM Microsoft Dynamics CRM 4.0 MSCM MSCRM ObjectTypeCode onchange onclick Organization Privilege PrivilegeDepthMask Radio Button scroll scroll bar Security SQL SSRS sub-grid subgrid System Jobs Tables Uncategorized User WaitingArchives

