Hi
i have requirement to show the share point documents on the form on CRM2016 online.
so tried to add the iframe on the form and tried to access the share point socuments using js.
the iframe is not working displayed "Conent is not diplayed error".
so tried to set URL https://www.google.com on the URL of the Iframe "Content is not displayed".
So tried to set the url using javascript on load of the form it was displaying same "Content is not displayed".
function OnLoad()
{
var IFrame = Xrm.Page.ui.controls.get("IFRAME_test");
var Url = IFrame.getSrc();
//IFrame.setSrc("https://www.google.co.in/");
//document.getElementById("IFRAME_test").src = "https://www.google.co.in/";
var params = Url.substr(Url.indexOf("?"));
var newTarget = "https://www.google.co.in";
IFrame.setSrc(newTarget);
}
tried the above to set google page on IFrame but not worked.
so changed the settings of the IE11, enabled mixed mode and some other options.
but not worked.
can you please help me what i am doing wrong here.
thanks in Advance.
\\Prasu
*This post is locked for comments