Hi,
I have a js file that fires onloan on the account form,
function SetReportUrl() {
var customerId = Xrm.Page.data.entity.getId();
var url = “reportserver/.../ReportViewer.aspx;rs:Command=Render&Account=” + customerId;
var iFrame = “IFRAME_ZendeskTickets”;
if (customerId == null) {
Xrm.Page.getControl(iFrame).setVisible(false);
}
else {
Xrm.Page.getControl(iFrame).setSrc(url);
}
}
however when it loads in the iframe it changes the url to
<iframe frameborder="0" id="IFRAME_ZendeskTickets" onload="if(!IsNull(Mscrm.InlineIFrameControlView)) Mscrm.InlineIFrameControlView.loadHandler("IFRAME_ZendeskTickets")" class="ms-crm-Custom-Read" tabindex="1630" url="reportserver/.../ReportViewer.aspx;amp;rs%3aCommand=Render" src="/_static/blank.htm"
i've set an alert in my JS file to check the url being passed but its correct, theres nothing else that i can see thats passing a url to the iframe either.
*This post is locked for comments
I have the same question (0)