In CRM 2016, on the contact form, we are trying to display in an IFrame an SSRS report that takes the current contact's id as a parameter. It looks like the report viewer is being displayed, but the report doesn't run. The iFrame's initial URL is about:blank, which is switched in javascript to:
Xrm.Page.context.getClientUrl() + "/crmreports/viewer/viewer.aspx?action=" + encodeURIComponent("run") +
"&id=%7b" + encodeURIComponent("40A783AE-95C0-E611-80D9-000D3A14F6A8") + "%7d&p:Contactid=" + encodeURIComponent(Xrm.Page.data.entity.getId());
How can we successfully display an SSRS report on a contact form in CRM 2016?