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(“}”, “”);

No comments:

Post a Comment