Clear infoPath template cache

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top