[CRM 4.0访问在尝试从onLoad打开外部文档时被拒绝

问题描述 投票:0回答:1

我正在CRM中单击字段时尝试打开文件。调用该函数时,提示“访问被拒绝”。

var FileTextBox = crmForm.all.new_testdoc;
FileTextBox.style.color = "#0000ff";
FileTextBox.style.textDecoration = "underline";
FileTextBox.attachEvent("onclick", openDocument);
function openDocument() 
{ 
if (FileTextBox.DataValue != null) 
{
window.open("FileTextBox");
}
}

CRM字段中包含的数据是'c:\ test \ test.txt'

有什么想法吗?

internet-explorer dom-events document onload dynamics-crm-4
1个回答
0
投票

排序。我需要使该文件夹成为共享文件夹,并例如使用它。 \ server \ documentpath,并在加载时以file://作为前缀。

© www.soinside.com 2019 - 2024. All rights reserved.