Form won't open from JavaScript

C

Chris Mahoney

Hi everyone

I have an InfoPath form, LibraryPhotos.xsn, and a JavaScript "launcher"
on my local Web server. The launcher does this:

var objInfoPath = new ActiveXObject("InfoPath.Application");
var thisXDocument =
objInfoPath.XDocument.NewFromSolution("http://whkdchrism/LibraryPhotos.xsn");

When running on my local system (whkdchrism) that works fine - InfoPath
starts up and my form appears. However, when running on a different
system on the same LAN, InfoPath starts and displays the "Opening"
window, but the form doesn't appear.

The form is signed and I have published it to whkdchrism, and this is
reflected by the publishUrl in manifest.xsf. In addition, I'm a trusted
publisher on both systems, and InfoPath.Application is marked as a safe
ActiveX object.

Any ideas?

Thanks
Chris
 

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