linking an xml file to an InfoPath form

D

Darren Neimke

In the PO_Webservice InfoPath SDK there is a great demo which shows how to
create an xml file and e-mail it to a user. The xml file is linked to an
InfoPath form via a pre-processing instruction which includes a Uri pointing
to the form. It looks like this:

<?mso-InfoPathSolution ... name="URI IS HERE" />

Where uri looks something like:


urn:schemas-microsoft-com:eek:ffice:infopath:2003:sdk:sample:WebServicePO:Invoice

Where does this Uri come from and, when developing my own forms... how will
I know which Uri to use so that I can link ad-hoc xml files with my templates?
 
A

Andrew Watt [MVP - InfoPath]

In the PO_Webservice InfoPath SDK there is a great demo which shows how to
create an xml file and e-mail it to a user. The xml file is linked to an
InfoPath form via a pre-processing instruction

Darren,

It's a processing instruction, not a pre-processing instruction.
which includes a Uri pointing
to the form.

It doesn't really point to the form. But it does indicate which URN
the form template is associated with.
It looks like this:

<?mso-InfoPathSolution ... name="URI IS HERE" />

Where uri looks something like:


urn:schemas-microsoft-com:eek:ffice:infopath:2003:sdk:sample:WebServicePO:Invoice

Where does this Uri come from and, when developing my own forms... how will
I know which Uri to use so that I can link ad-hoc xml files with my templates?

Have a look at
http://msdn.microsoft.com/library/d.../html/ipsdkUnderstandingFullyTrustedForms.asp

Andrew Watt
MVP - InfoPath
 
Top