I have been seen a lot of CRM folks is struggling to find the syntax of getting Parent record details from Child record in CRM 2016 and above.
Syntax to get Parent record details from Child form in CRM above 2016 version :
window.top.opener.frames[0].Xrm.Page.data.entity.getEntityName();
window.top.opener.frames[0].Xrm.Page.data.entity.getId();
window.top.opener.frames[0].Xrm.Page.data.entity.getId();
window.top.opener.frames[0].Xrm.Page.getAttribute("attributename").getValue();
Cheers
Hi,
ReplyDeleteIt works perfectly except in edge browser...any solution?
Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking. Ramen Leuven
ReplyDeleteYou made such an interesting piece to read, giving every subject enlightenment for us to gain knowledge. Thanks for sharing the such information with us to read this... more info
ReplyDelete