Open xml document that does not have the Infopath PI

M

Matt Milner

If I have an xml document that matches the schema for my infopath solution,
is there a way to open the document in Infopath, specifying the
solution(xsn) to open it with? I basically have what would be an infopath
form without the processing instructions in it. Rather than add those
processing instructions in, which I know how to do, I'd like to be able to
tell InfoPath - "Hey, open this xml file and treat it like a form based on
this solution". Is this possible through command line, UI or API?

Thanks,
Matt
 
B

Brian Teutsch [MSFT]

There's nothing in our UI that will let you do this. I also don't think you
are able to do this through the object model, either. InfoPath is dependent
on having a pointer in the XML to decide how to display the information.

Brian
 
M

Matt Milner

Bummer! I was kind of thinking that was the case since I hadn't found
anything. I'd like to make a feature request for future versions. I think
it is quite likely that users might want to edit XML files that meet the
schema for an InfoPath solution but does not have the PI in it. I wouldn't
even care if InfoPath inserted the PI when I first opened it up.

In my case, I'd love to be able to open BizTalk binding files in an InfoPath
form that I created. I'd rather not have to insert the PI in order to be
able to edit it each time, but I can do it easily enough with a simple
program if I have to.

Oh well, thanks for the feedback.

Matt
 

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