L
Lector
Hi2all
I'm developing web-based application and faced a problem with InfoPath cache.
The javascript code for opening document:
function OpenDoc(docPath, docPattern)
{
var objEditor = null;
try
{
objEditor = new ActiveXObject("InfoPath.Application");
}
catch(ex)
{
alert('You must switch option "Initialize and script ActiveX controls not
marked as safe" of your current IE Security options to "Enable" or "Promt"');
window.open(docPath);
return null;
}
if (objEditor != null)
{
objEditor.XDocuments.Open(docPath);
}
}
Infopath template file is hosted on my web-site. So when I publish new
version of this template I want users to get it. The problem is in Infopath,
which caches this template in local folder and does not download new version.
How can I force Infopath to get new xsn?
Also it is possible to do with "Fill out" menu, but user can not know about
updated version...
I'm developing web-based application and faced a problem with InfoPath cache.
The javascript code for opening document:
function OpenDoc(docPath, docPattern)
{
var objEditor = null;
try
{
objEditor = new ActiveXObject("InfoPath.Application");
}
catch(ex)
{
alert('You must switch option "Initialize and script ActiveX controls not
marked as safe" of your current IE Security options to "Enable" or "Promt"');
window.open(docPath);
return null;
}
if (objEditor != null)
{
objEditor.XDocuments.Open(docPath);
}
}
Infopath template file is hosted on my web-site. So when I publish new
version of this template I want users to get it. The problem is in Infopath,
which caches this template in local folder and does not download new version.
How can I force Infopath to get new xsn?
Also it is possible to do with "Fill out" menu, but user can not know about
updated version...