<?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>Re: InfoPath 2007 SharePoint Content Type - how to tell InfoPath which Forms Library the Content Type was chosen from if site was published from a Site Template</title><link>https://www.infopathdev.com:443/forums/thread/44811.aspx</link><pubDate>Wed, 22 Jul 2009 22:49:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44811</guid><dc:creator>flowerbot</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44811.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=44811</wfw:commentRss><description>&lt;p&gt;I have not found a solution so far.&amp;nbsp; As you can see nobody here seems to know either :)&amp;nbsp;&amp;nbsp;&amp;nbsp;I&amp;#39;ve stopped looking for the moment and decided to collect the data I need in another way.&amp;nbsp; This is an adequate alternative solution for where I&amp;#39;m at with it right now, although I am sure I will need to revisit it when the process I&amp;#39;m designing progresses to a future stage.&amp;nbsp;&amp;nbsp; In my mind its a pretty obvious and basic requirement for InfoPath forms&amp;nbsp;used as Content Types to be able to be submitted back to where they came from so hopefully an answer will turn up at some point.&amp;nbsp; If you manage to get it working I would be very interested to hear about the solution you found.&amp;nbsp; Good luck :)&lt;/p&gt;</description></item><item><title>Re: InfoPath 2007 SharePoint Content Type - how to tell InfoPath which Forms Library the Content Type was chosen from if site was published from a Site Template</title><link>https://www.infopathdev.com:443/forums/thread/43761.aspx</link><pubDate>Thu, 02 Jul 2009 20:57:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43761</guid><dc:creator>PhDUltra</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43761.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=43761</wfw:commentRss><description>&lt;p&gt;I have the exact same problem. I can extract the template location for forms published to a form library to update the submit to location. However for forms publishes as Content Type forms this method does not work. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;If you were able to resolve this issue please let me know.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>InfoPath 2007 SharePoint Content Type - how to tell InfoPath which Forms Library the Content Type was chosen from if site was published from a Site Template</title><link>https://www.infopathdev.com:443/forums/thread/40570.aspx</link><pubDate>Tue, 14 Apr 2009 00:02:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40570</guid><dc:creator>flowerbot</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40570.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=40570</wfw:commentRss><description>OK, I put almost my whole request into the subject, hope somebody will understand what I&amp;#39;m asking and be able to help  :) Please forgive me if this has been answered elsewhere, I have searched the net and this site in vain.  &lt;br /&gt;&lt;br /&gt;

I have already managed to deal with InfoPath forms being submitted to a form library contained in any site generated by a Site Template by successfully implementing a &amp;#39;submit with code&amp;#39; scenario to read the form&amp;#39;s location. But now how do I do the same thing for a Content Type, given that the template for the Content Type is stored in a Form Library on the root site and the content type is being triggered by a &amp;#39;managed&amp;#39; content type Form Library which is located on any one of a number of sites generated from a Site Template ....
&lt;br /&gt;&lt;br /&gt;
The most obvious solution to me would be finding a way to somehow get the url of the site where the &amp;#39;content type&amp;#39; option was clicked, which would mean I could continue to use the &amp;#39;submit with code&amp;#39; option I have already resolved modified to suit.  I already am able to make this work if I type in the site url manually, however I would like to be able to automate this somehow.
&lt;br /&gt;&lt;br /&gt;
Please advise if there is a way to do this, or if there is an alternate way to tell a content type to dynamically be submitted back to the form library it was requested from.  
&lt;br /&gt;&lt;br /&gt;
In summary:
&lt;br /&gt;&lt;br /&gt;
1. I have several content types in one Form Library.&lt;br /&gt;
2. The Form Library is held in a Site Template from which many sites can and will be created.&lt;br /&gt;
3. The url for the sites will be made from the root url + a field stored in a master list on the root site (all rows) plus a duplicate list (one row only) on the template site.&lt;br /&gt;
4. The InfoPath templates for the content types are stored on the root site&lt;br /&gt;
5. I need the form template for the selected content type to be submitted back to the library it was requested from without requiring the user to complete the URL.
&lt;br /&gt;&lt;br /&gt;
Thanks in advance.</description></item></channel></rss>