In Dynamics 2011 forms came on as a popup, but in Dynamics CRM 2013, most forms are loaded within the page. So the usage of window.opener is not working in JavaScript. Is there an alternative to get the attributes of a parent form???
Previously we got data this way(Dynamics CRM 2013)..
if (window.top.opener)
{
try
{
var parentXrm = window.top.opener.parent.Xrm; //Find parent Xrm
if (parentXrm && parentXrm.Page && parentXrm.Page.data && parentXrm.Page.data.entity && parentXrm.Page.data.entity.getEntityName() == Entities.Opportunity.LogicalName)
{
.
.
.
.
}
}
}
*This post is locked for comments
I have the same question (0)