Hi there!
I have a problem!
Via custom button script I create iframe:
- var frame = window.top.document.createElement('iframe');
- frame.setAttribute("src", src);
- frame.setAttribute("id", "mainIframe");
- frame.setAttribute("allowtransparency", "true");
- frame.setAttribute("style", "background:none transparent; position:absolute; border:none; top:50px; left:0; width:100%; height: calc(100% - 50px);");
- window.top.document.body.appendChild(frame);
In this iframe I open webresource html.
But I cannot publish to appSource my solution, because I cannot "Directly accessing the HTML Document Object Model (DOM) elements of a Dynamics 365/CRM application page or entity form is not supported in any version and presents a considerable supportability risk". Is exist way to create it (iframe) dynamically? Via Xrm... or something else?
*This post is locked for comments