Synchronously calling InfoPath from application

N

news.microsoft.com

Hi everyone,

the following scenario must be implemented:

1. an application writes an xml file to local hard disk.
2. This file is opened using infopath (the xml file has already the
necessary xml statements included to associate a form with it)
3. the application is to wait until infopath finished with the document (the
file should at best be stored to the same location again)
4. the xml file is read from disk and removed.

Any idea how this could be accomplished?

Thanks, regards

Joerg Fischer
 
S

Shiva (GGK Tech)

Hello,

You could create a button that runs script/managed code. Then in the buttons
onclick event handler, use the thisXDocument.submit and thisXDocument.save
functions
 
N

news.microsoft.com

Hi,

Thanks for the response so far.

The issue I am currently facing is that InfoPath "spawns" itself when
calling it, so that the calling application has no information on when
InfoPath is done with the document. So, InfoPath is being called by another
Application.

Regards

Joerg Fischer
 

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