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
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
Hi,
ReplyDeleteI 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.
Which CRM version are you using?
DeleteHi, I am also facing the same issue in the latest update of Dynamics 9.1. Please help me
DeleteGreat article with excellent idea!Thank you for such a valuable article. I really appreciate for this great information..
ReplyDeletedefer parsing of js wordpress