Hi, I am trying to display sharepoint document grid on the form through iframe. I am using the below code but it doesn't work well, it displays the grid and disappears. I am using DYnamics 365
var url = Xrm.Page.context.getClientUrl() +
"/userdefined/areas.aspx?formid=ab44efca-df12-432e-a74a-83de61c3f3e9&inlineEdit=1&navItemName=Documents&oId=%7b" +
Xrm.Page.data.entity.getId().replace("{", "").replace("}", "") + "%7d&oType=" +
Xrm.Page.context.getQueryStringParameters().etc +
"&pagemode=iframe&rof=true&security=852023&tabSet=areaSPDocuments&theme=Outlook15White";
Xrm.Page.getControl("IFRAME_document").setSrc(url);
*This post is locked for comments
I have the same question (0)