<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: dynamically change the udcx source url property at run time in infopath form services</title><link>https://www.infopathdev.com:443/forums/thread/91154.aspx</link><pubDate>Mon, 08 Jul 2013 10:10:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91154</guid><dc:creator>dbfuller</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91154.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=91154</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Unfortunately I don&amp;#39;t write the code for InfoPath so I don&amp;#39;t know the exact solution. The major part of the solution is creating our own data connection file. At run time, after&amp;nbsp;InfoPath fetches the data connection details (site name and GUID) from the &amp;quot;normal&amp;quot; data connection file,&amp;nbsp;the code&amp;nbsp;fetches details from our own file and replaces&amp;nbsp;the &amp;quot;normal&amp;quot;&amp;nbsp;details. The other major difference is that our file is placed on the top site and there for contains details against every sub site and their lists.&lt;/p&gt;</description></item><item><title>Re: dynamically change the udcx source url property at run time in infopath form services</title><link>https://www.infopathdev.com:443/forums/thread/91035.aspx</link><pubDate>Tue, 02 Jul 2013 04:56:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91035</guid><dc:creator>binhluong</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91035.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=91035</wfw:commentRss><description>I got stuck with the same your situation. Can you share your experience about this issue? 
Thanks in advance.</description></item><item><title>Re: dynamically change the udcx source url property at run time in infopath form services</title><link>https://www.infopathdev.com:443/forums/thread/90797.aspx</link><pubDate>Wed, 19 Jun 2013 08:08:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90797</guid><dc:creator>dbfuller</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90797.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=90797</wfw:commentRss><description>&lt;p&gt;Thanks for your reply. We used custom code in the end.&lt;/p&gt;&lt;p&gt;David&lt;/p&gt;</description></item><item><title>Re: dynamically change the udcx source url property at run time in infopath form services</title><link>https://www.infopathdev.com:443/forums/thread/90765.aspx</link><pubDate>Tue, 18 Jun 2013 11:28:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90765</guid><dc:creator>mariyaana</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90765.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=90765</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;very nice post&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: dynamically change the udcx source url property at run time in infopath form services</title><link>https://www.infopathdev.com:443/forums/thread/90146.aspx</link><pubDate>Mon, 27 May 2013 12:31:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90146</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90146.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=90146</wfw:commentRss><description>&lt;p&gt;Yes, this can probably be achieved by writing custom code.&lt;/p&gt;&lt;p&gt;We accomplish this using the &lt;a href="http://www.qdabra.com/en/products/qRules_new.aspx"&gt;qRules&lt;/a&gt; command &lt;strong&gt;ChangeConnectionUrl&lt;/strong&gt;. Here&amp;#39;s an &lt;a href="http://www.youtube.com/watch?v=V_ZmP3vCAy4"&gt;introductory video to qRules&lt;/a&gt; if you&amp;#39;re interested in learning more.&lt;/p&gt;&lt;p&gt;Good luck!&lt;/p&gt;</description></item><item><title>dynamically change the udcx source url property at run time in infopath form services</title><link>https://www.infopathdev.com:443/forums/thread/90129.aspx</link><pubDate>Sat, 25 May 2013 11:44:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90129</guid><dc:creator>dbfuller</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90129.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=90129</wfw:commentRss><description>Instead of altering the actual (relative) udcx file I would like to change the data connection source url property, which points to the udcx file, at run time. 

The desire is that within infopath form services, at run time, the url pointing to the data connection udcx file is replaced with one relative to where the form was opened. This would enable the same form template to be deployed many times within the same site and each point to their very own data sources, e.g. a contacts list. 

If you can imagine a site collection which has four sub sites. A form has been deployed to the site collection. With in each of the four sub sites a form library has been created (e.g. bookings) with the same name. Also in each of the four sub site a list has been created, again all with the same name (e.g. contacts). To connect the form to the contacts list a data connection has been created and converted to a data connection file (udcx). In each sub site a data connections library has been created with the same name (e.g. data connections). Before the data connection file is added to each data connection library, the list GUID and site url is changed. Unfortunately, within the form, the url pointing to the data connection file is relative from the site&amp;#39;s root rather than the position of the form at run time. And this all mean you can&amp;#39;t point it at multiple connection files within the same site, which is a big problem for the solution im working on. If you could change this url at run time in anyway (e.g. code) then this BIG problem would be solved. 

If anyone has any thought i would be most grateful.</description></item></channel></rss>