Hi All,
i have an IFrame at the Main form of Account entity, i'm updating the URL of the iframe at OnLoad event of the form. Using this iframe i'm displaying the OOB Sharepoint Document Grid, it is working properly at Web Client but giving an error in Model Driven App.
my script is following for updating the URL of IFrame,
function SetDocumentFrame(executionContext) {
var url = Xrm.Utility.getGlobalContext().getClientUrl() +
"/userdefined/areas.aspx?formid=ab44efca-df12-432e-a74a-83de61c3f3e9&inlineEdit=1&navItemName=Documents&oId=%7b" +
executionContext.getFormContext().data.entity.getId().replace("{", "").replace("}", "") + "%7d&oType=" +
executionContext.getFormContext().context.getQueryStringParameters().etc +
"&pagemode=iframe&rof=true&security=852023&tabSet=areaSPDocuments&theme=Outlook15White";
executionContext.getFormContext().getControl("IFRAME_SharePoint").setSrc(url);
}
Please see attached screenshots for more details.
Any help will be appreciated.
Many Thanks
Muhammad Bilal
Hi @MBilal-079 ,
For code troubleshooting I would advice to open a service request on the Power Platform Admin Center portal: https://admin.powerplatform.microsoft.com/support
Thank you.
Ovidiu
User | Count |
---|---|
174 | |
115 | |
86 | |
44 | |
41 |
User | Count |
---|---|
238 | |
150 | |
132 | |
77 | |
73 |