Search This Blog

Sunday, November 22, 2015

Get Entity/Object type code in CRM using javascript

Get Entity/Object type code in CRM using javascript

If you have any doubt in the post please post comments. I will try to solve your problem.

If you need the entity type code for the all form include custom form.

Mscrm.EntityPropUtil.EntityTypeName2CodeMap["account"]

or

Mscrm.EntityPropUtil.EntityTypeName2CodeMap.account

4 comments:

  1. Hi,
    I am getting some error while read this value in alert.
    The error details are "TypeError: Cannot read property 'EntityTypeName2CodeMap' of undefined at test "

    Pls give reply.

    ReplyDelete
    Replies
    1. Hi, I am also facing the same issue in the latest update of Dynamics 9.1. Please help me

      Delete
  2. Great article with excellent idea!Thank you for such a valuable article. I really appreciate for this great information..
    defer parsing of js wordpress

    ReplyDelete

Note: Only a member of this blog may post a comment.