How to Remove curly braces from GUID D365 CRM

 

Xrm.Page.data.entity.getId()


And to remove the curly braces:

Xrm.Page.data.entity.getId().replace(“{“, “”).replace(“}”, “”);

Or

formContext.data.entity.getId().replace(“{“, “”).replace(“}”, “”);

Next Post Previous Post
No Comment
Add Comment
comment url