<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Dynamic Data Connection?</title><link>https://www.infopathdev.com:443/forums/thread/85112.aspx</link><pubDate>Thu, 06 Dec 2012 13:37:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85112</guid><dc:creator>parsonsm11111</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85112.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=85112</wfw:commentRss><description>&lt;p&gt;I have a similar problem.&amp;nbsp; However, my issue is not in moving the form from a development environment to a production environment.&amp;nbsp; My challenge is to automatically deploy a form library with my form template to a new site within the same site collection.&lt;/p&gt;
&lt;p&gt;Because it is the same site collection, using a server-relative location for my UDC file will not work, since all sites will share the same UDC and point at the same library.&amp;nbsp; I want the form template attached to a specific library in a specific site to have its submit target be the local library.&lt;/p&gt;
&lt;p&gt;I do not want to have to manually change the contents of the UDC file since these sites may be provisioned by users.&lt;/p&gt;
&lt;p&gt;Any suggestions?&amp;nbsp;&amp;nbsp;Could web services or HTTP submits help me?&lt;/p&gt;
&lt;p&gt;At this point, I am contemplating writing&amp;nbsp;.NET code to unpackage the xsn and manually change the target of the&amp;nbsp;data&amp;nbsp;connection.&amp;nbsp; I would really hate to do this though...&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Dynamic Data Connection?</title><link>https://www.infopathdev.com:443/forums/thread/62365.aspx</link><pubDate>Thu, 16 Dec 2010 09:57:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62365</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62365.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=62365</wfw:commentRss><description>&lt;p&gt;Hi Jim!&lt;/p&gt;
&lt;p&gt;As far as I know, UDC files are site collection, site or sub-site specific. You want to publish UDCs for each site (or sub-site) and then have your InfoPath form refer to them using a relative path. First, just try to publish your InfoPath form to a new site and specify the new UDC file. It should be easy to modify the data connection to point to the UDC file in the site specific data connection library. Once you get that working, go to the next level and try to change the master template to have a site specific relative path to the UDC. You&amp;#39;ll have to modify the manifest.xsf of the InfoPath solution template to try this out, and I&amp;#39;m not 100% certain it will work (because of issues we have had), but it&amp;#39;s worth a try since it means you can create a package that deploys both the UDC and the XSN to a new site and they will work. To get at the manifest.xsf, export the source files for the XSN and then open the manifest.xsf in notepad. Search for DataAdapters and the data connection that you want to be relative. Then, change the path to be relative instead of absolute. Save the file. Right click and design the XSF. Save and publish. Now take that saved XSN and UDC and try to upload to a new site. &lt;/p&gt;
&lt;p&gt;Let us know if this doesn&amp;#39;t make sense and thanks for your patience as we try to respond to all threads in the forum! :)&lt;/p&gt;</description></item><item><title>Re: Dynamic Data Connection?</title><link>https://www.infopathdev.com:443/forums/thread/62307.aspx</link><pubDate>Tue, 14 Dec 2010 20:03:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62307</guid><dc:creator>JimOleson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62307.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=62307</wfw:commentRss><description>Thanks Patrick for the response. I&amp;#39;ve been searching for a good way to do this but when I find information on the subject I just find &amp;quot;use a UDC connection&amp;quot;. Can you point me in the right direction? I publish a form library as part of a site template.  I need the InfoPath form to publish to it&amp;#39;s respective library. I&amp;#39;m guessing that I would need to update the UDC file and publish it as part of my automated workflow?</description></item><item><title>Re: Dynamic Data Connection?</title><link>https://www.infopathdev.com:443/forums/thread/61393.aspx</link><pubDate>Mon, 15 Nov 2010 01:01:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61393</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61393.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=61393</wfw:commentRss><description>&lt;p&gt;Hi Jim,&lt;/p&gt;
&lt;p&gt;I would convert your data connection into a UDC and modify that when you create your new site. Then, it should work without the need to republish your form. You could try to use relative paths too, but I think there are roundtrip issues in IP2010. Anyway, best practice is to use UDCs. &lt;/p&gt;</description></item><item><title>Dynamic Data Connection?</title><link>https://www.infopathdev.com:443/forums/thread/61377.aspx</link><pubDate>Fri, 12 Nov 2010 18:32:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61377</guid><dc:creator>JimOleson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61377.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=61377</wfw:commentRss><description>&lt;p&gt;I have a form that I&amp;#39;ve created a Site Content Type from. In my form, I have&amp;nbsp;a field that I would like to pre-populate field data when a user clicks on &amp;quot;New Form&amp;quot;. I understand that I can create a data connection to accomplish this. However, how do I make this data connection dynamic? The data connection points to the site template level (Sub-site).When I provision a new site with a document library&amp;nbsp;using this template with the form as the content type, it is not reading from the right location any longer.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item></channel></rss>