In Legacy web Client form i added SharePoint Attach Documents to Main Form it was easy to achieve with IFrame and piece of JavaScript.
i.e,
var url = Xrm.Page.context.getClientUrl()
"/userdefined/areas.aspx?formid=b7569426-ad11-448c-a43d-2dfe8b37a232&inlineEdit=1&navItemName=Documents&oId={"
Xrm.Page.data.entity.getId().replace("{", "").replace("}", "") "}&oType=10152"
"&pagemode=iframe&rof=true&security=852023&tabSet=areaSPDocuments&theme=Outlook15White";
Xrm.Page.getControl("IFRAME_SharePointDocument").setSrc(url);
But the same thing is not working in Unified Client Interface.
when i try to upload document i'm getting error as follows:

and i think Unified interface is not using IFrame for document upload.
Please someone help me through this.
Thank You
*This post is locked for comments
I have the same question (0)