<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Creating InfoPath XML documents Programmatically</title><link>https://www.infopathdev.com:443/forums/thread/19217.aspx</link><pubDate>Thu, 19 Apr 2007 15:28:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19217</guid><dc:creator>Giannis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19217.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=19217</wfw:commentRss><description>&lt;p&gt;Thank you, Matti for your reply, but it&amp;#39;s a (another) workaround. Currently, i have an empty form in the form lib, which is downloaded and filled in by a workflow.&lt;/p&gt;&lt;p&gt;I&amp;#39;m looking for a way to retrieve this PI-header from the .xsn file.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks!&lt;/p&gt;&lt;p&gt;Giannis&lt;/p&gt;</description></item><item><title>Re: Creating InfoPath XML documents Programmatically</title><link>https://www.infopathdev.com:443/forums/thread/19174.aspx</link><pubDate>Wed, 18 Apr 2007 08:01:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19174</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19174.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=19174</wfw:commentRss><description>You could also just call a Data Connection in your onload event which is set up to upload your form to a form library. As the name of the form (specified in the Data Connection Wizard) I would use datetime or something to make sure that you have always a unique name for your uploaded form. After that call the thisApplication.Close() method to directly close the form again if you want. Like this the user would click the link, the form would open shortly upload it self with a unique name to another sharepoint library and close again. To be honest I haven&amp;#39;t tried this and am not sure if it will work....</description></item><item><title>Re: Creating InfoPath XML documents Programmatically</title><link>https://www.infopathdev.com:443/forums/thread/19172.aspx</link><pubDate>Wed, 18 Apr 2007 06:41:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19172</guid><dc:creator>Giannis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19172.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=19172</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;How exactly can/did you extract the InfoPath PI from the xsn-template?&lt;/p&gt;&lt;p&gt;Thanks!&lt;br /&gt;Giannis&lt;/p&gt;</description></item><item><title>Re: Creating InfoPath XML documents Programmatically</title><link>https://www.infopathdev.com:443/forums/thread/13155.aspx</link><pubDate>Wed, 09 Mar 2005 08:11:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13155</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13155.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13155</wfw:commentRss><description>Hi MReyeros,&lt;br /&gt;I apologize for the delay in responding to you. Yes, you can definitely do this. Just make sure to include the InfoPath PI and other info when you create the XML. Then, you can stream it down to a browser and URLMON will intercept and start up InfoPath to load it. I believe that's what you want, but maybe I'm confused. Anyway, good luck.&lt;br /&gt;Patrick</description></item><item><title>Creating InfoPath XML documents Programmatically</title><link>https://www.infopathdev.com:443/forums/thread/12425.aspx</link><pubDate>Wed, 16 Feb 2005 13:58:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12425</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12425.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12425</wfw:commentRss><description>Is is possible to create save an .xml form from an .xsn form template programmatically through code-behind?  What I want to be able to do is allow the user to click on a link for a .xsn form template from a main document library and have it save an empty .xml form based on that template into another document library.</description></item></channel></rss>