Configuring an xml to open in Infopath 2003

S

Steve B

Hey,

Im not sure if this is possible, but I was wondering if it is somehow
possible to configure my computer to open up an xml file into infopath
and the fields in the infopath form be set according to the content of
the xml.

Part of the project im working on involves filling out an infopath
form, submitting it to biztalk and biztalk sending the xml file in an
email. I want to be able to allow the recipients of the email to be
able to open the infopath form by opening the xml file.

Any advice would be greatly appreciated, thanks.

Steve
 
B

Brian Teutsch [MSFT]

Start up InfoPath, and choose "Design a new form". From there, you'll have
an option to "Start from XML file or schema". That's the key to starting
from an existing XML file.

Some other things to take a look at are the PI headers that make an XML
document an "InfoPath" XML document. You'll also want to read up on the
Human Workflow Services in InfoPath for BizTalk workflow integration.
Finally, if your BizTalk exposes a web service for some of the
functionality, you may want to start from a web service instead of an XML
file.

Thanks,
Brian
 
W

willib

If you save a form and open it in e.g. notepad
you will see the

<?mso-infoPathSolution solutionVersion="1.0.0.13" href="youURI"
productVersion="11.0.5531" PIVersion="1.0.0.0" ?>
your xml must have an href ( Infopathform Namespace ) that maches an
installed infopathsolution
see the sdk with the keyword 'trusted form' how to change this uri

and
<?mso-application progid="InfoPath.Document"?>
this causes the explorer to open infopath ..


hth
willib
 

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