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
 
Top