<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Creating a New InfoPath Form Item from a Workflow</title><link>https://www.infopathdev.com:443/forums/thread/29129.aspx</link><pubDate>Tue, 03 Jun 2008 15:49:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29129</guid><dc:creator>3wireless</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29129.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=29129</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve got two InfoPath 2007 Forms published to Sharepoint and configured to use Form Services.&amp;nbsp; Upon submission of the first form, I need to calculate some values pass those as a few fields&amp;nbsp;in a new instance of&amp;nbsp;the second InfoPath form.&amp;nbsp; I&amp;#39;ve configured the custom columns to allow user editing in a datasheet, which then allowed me to develop&amp;nbsp;a workflow in Sharepoint Designer that creates a new item in the list which is the document library of the second form, and set all of the&amp;nbsp;necessary fields to the correct values.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;When I submit the first form, everything appears to work and the workflow creates a new item of the second form and successfully sets all of the necessary values.&amp;nbsp; The problem is, though, that the item that is created seems to be a .xsn and not a .xml like it would be if I simply selected &amp;quot;New&amp;quot; from the menu at the top of the list.&amp;nbsp; As a result, it opens in InfoPath and not in the browser like it is supposed to.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I tried changing the default Content Type from &amp;quot;Form&amp;quot; to a custom Content Type that I created based on the InfoPath form, but I got the same results.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;What am I doing wrong?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks!&lt;/p&gt;</description></item></channel></rss>