<?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: Auto-create form templates for new SharePoint site</title><link>https://www.infopathdev.com:443/forums/thread/16457.aspx</link><pubDate>Tue, 21 Nov 2006 18:21:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16457</guid><dc:creator>pdjohnson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16457.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16457</wfw:commentRss><description>Patrick, thank you for the speedy reply! I do have some clarifications if you don't mind. We are currently using SP 2003 but are in the process of upgrading to 2007, so understanding the differences between the two will help me to decide whether to do this now or wait a bit for 2007 to be ready.&lt;br /&gt;&lt;br /&gt;For submitting to the correct subsite:&lt;br /&gt;&lt;br /&gt;Can you give me some more detail on how I would detect the subsite url from the template.xml? I created a new instance of the form from the subsite (in SP 2003) and looked at the xml and it only referenced the central xsn template.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For auto-populating fields: It seems like both options for auto-populating fields in the form require creating or editing an xml file by hand (calling the form with merge parameters requires an xml file with the parameters, and a pre-baked template.xml would also require touching that file for each new project we create). Is there any way to do this without any manual intervention? This might be related to the answer to the question above, since if I can somehow get the URL of the subsite from the form, maybe I can use a web service to query data about the subsite from SharePoint?&lt;br /&gt;&lt;br /&gt;Again, thanks so much for your help with this.</description></item><item><title>Re: Auto-create form templates for new SharePoint site</title><link>https://www.infopathdev.com:443/forums/thread/16456.aspx</link><pubDate>Tue, 21 Nov 2006 08:46:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16456</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16456.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16456</wfw:commentRss><description>Hi Paul,&lt;br /&gt;&lt;br /&gt;You can definitely do #2 and #3. Are you on SharePoint 2003 or SharePoint 2007? &lt;br /&gt;&lt;br /&gt;For SharePoint 2003 ....&lt;br /&gt;&lt;br /&gt;You can use some code in the form that *detects* the publish location (i.e. the subsite URL) of the project - this can be used to correctly submit to the right subsite. &lt;br /&gt;&lt;br /&gt;For auto-population, you can either have them launch from a button that sends some parameters to InfoPath using the import command line parameter or you can use a pre-baked template.xml file that is used at start-up. &lt;br /&gt;&lt;br /&gt;For SharePoint 2007...&lt;br /&gt;&lt;br /&gt;Use a site collection to store one XSN (vs. multiple XSNs for SharePoint 2003). Create a separate template.xml for each subsite that autopopulates the values. For submit, add a value to the template.xml that you read on load to control submit, or default submit to SharePoint. Honestly, I haven't done the "relative submit" trick with ShP 2007 and there might be an easier way to do it with Site Collections or Office Data Connections. &lt;br /&gt;&lt;br /&gt;Good luck! Let us know if you need more specific pointers.</description></item><item><title>Auto-create form templates for new SharePoint site</title><link>https://www.infopathdev.com:443/forums/thread/15484.aspx</link><pubDate>Mon, 20 Nov 2006 18:06:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15484</guid><dc:creator>pdjohnson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15484.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=15484</wfw:commentRss><description>Hi, I have a problem I've been struggling with for some time that I'm hoping you can help with. Our company's projects are all standard, and each project always has to fill out the same forms that we have designed in InfoPath. When we launch a new project, it gets its own SharePoint site. What I would like to do is this:&lt;br /&gt;&lt;br /&gt;1) When we create a new project site in InfoPath, automatically create blank templates of the forms so the project managers know to fill them out&lt;br /&gt;2) When the project manager launches the blank form, it would be great if the form could be auto-populated with the name of their project and other attributes from their specific SharePoint site&lt;br /&gt;3) When the project manager submits the form it should submit to their project site&lt;br /&gt;4) I would still like to be able to manage the templates for the forms centrally (i.e. every project will still share the same InfoPath template).&lt;br /&gt;&lt;br /&gt;I've been playing around with this solution: &lt;a href='http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=3040&amp;SearchTerms=form,libraries' target='_blank' title='http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=3040&amp;SearchTerms=form,libraries'&lt;a target="_blank" href=http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=3040&amp;SearchTerms=form&gt;http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=3040&amp;SearchTerms=form&lt;/a&gt;,libraries&lt;/a&gt;&lt;br /&gt; and it gets me #1 and #4, but I don't think it can support #2 and #3 without customizing the xml templates in each project site. I would like to avoid this since we have hundreds of projects each year. &lt;br /&gt;&lt;br /&gt;Another thought I had was to have all projects share their SharePoint form libraries and somehow create a filtered view into the central library for each project so it could only see its own forms. But this doesn't give project managers that nice pre-populated checklist of the blank forms they need to complete.&lt;br /&gt;&lt;br /&gt;Any guidance you could provide would be much appreciated.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;&lt;br /&gt;Paul</description></item></channel></rss>