Hi,
I am trying to set up an iframe with network folder in it on a custom form. I am using this script on onload of the form.
function SetFileShare() {
debugger;
//only run when the form is open for Read or Update
if (Xrm.Page.ui.getFormType() == 2 || Xrm.Page.ui.getFormType() == 3) {
var folder = Xrm.Page.getAttribute("new_documents").getValue();
Xrm.Page.getControl("IFRAME_SharedFolderIframe").setSrc("file:///V:\CRM"+ folder );
}
}
This gives me 'Access denied for file:///V:\CRM from script error.
Can someone please guide me through this?
Thanks for any help!
*This post is locked for comments
I have the same question (0)