<?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: UDC and multi-environment deployment</title><link>https://www.infopathdev.com:443/forums/thread/77350.aspx</link><pubDate>Tue, 10 Apr 2012 15:16:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77350</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77350.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=77350</wfw:commentRss><description>&lt;p&gt;Just to add to this - after checking the Scott Roberts / Hagen Green &lt;a href="http://www.amazon.com/gp/product/B0051TX2JG"&gt;book&lt;/a&gt; (&lt;span id="btAsinTitle"&gt;Designing Forms for Microsoft Office InfoPath and Forms Services 2007) the data connections in the CMCL can&amp;#39;t be access from IP directly when designing the form - you can only select from the data connection library version. In fact, in preview, IP uses the DCL (data connection library)&amp;nbsp;version - so if for security reasons you delete your DCL version after uploading to CMCL, your form won&amp;#39;t be able to connect to the data connections after preview. But as Tom mentions - this does allow you to use a single data connection across the entire server farm - so the trade off is in the convenience factor when designing your form.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can select an existing data connection in a DCL and then modify it to use the CMCL in the published, admin approved version of the template. The design version will continue to use the connection from the DCL.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: UDC and multi-environment deployment</title><link>https://www.infopathdev.com:443/forums/thread/77284.aspx</link><pubDate>Mon, 09 Apr 2012 03:38:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77284</guid><dc:creator>TomCastiglia</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77284.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=77284</wfw:commentRss><description>The best approach for publishing InfoPath forms across multiple environments (e.g. DEV/TEST/PROD) is to publish you connections to the Central Managed Connection Library (CMCL) in Central Admin (under General Application Settings&amp;gt;InfoPath Form Services&amp;gt;Manage data connection files).  

This will also require that you publish your template as an Admin Approved form.

The steps for deploying connections in the CMCL are quite simple, but a little counter-intuitive.  This article explains it nicely though: http://technet.microsoft.com/en-us/library/ff621104.aspx</description></item><item><title>UDC and multi-environment deployment</title><link>https://www.infopathdev.com:443/forums/thread/77111.aspx</link><pubDate>Tue, 03 Apr 2012 15:52:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77111</guid><dc:creator>enathaniel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77111.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=77111</wfw:commentRss><description>Hi guys,

&lt;br /&gt;&lt;br /&gt;
I&amp;#39;ve read a few articles about UDC and multiple Sharepoint environments but I&amp;#39;ve never read an article that explain how everything tied together (usually the authors explain everything in high-level overview with no samples) so I&amp;#39;m wondering if someone can explain to me how UDC works and how can I switch my Data Connections between 2 or more Sharepoint environments (let&amp;#39;s say I have DEV, TEST, and PROD environment). 

&lt;br /&gt;&lt;br /&gt;
A little bit of background of what I know so far:
&lt;br /&gt;
&lt;br /&gt;
1) I know how to setup DCL in Sharepoint
&lt;br /&gt;
&lt;br /&gt;
2) I know how to convert a Data Connection to File and store it to SP DCL
&lt;br /&gt;
&lt;br /&gt;
3) I don&amp;#39;t know how this works with multi-environment since it appears I have to switch the Data Connection in &lt;i&gt;each and every control in the form&lt;/i&gt; every time I&amp;#39;m about to publish.
&lt;br /&gt;
&lt;br /&gt;
4) I don&amp;#39;t know how I can publish to multi-environment using UDC: should I publish manually per environment (hence changing the Submit Option every single time I&amp;#39;m changing the environment?)
&lt;br /&gt;
&lt;br /&gt;
5) I don&amp;#39;t know how to create a re-usable &amp;quot;sub-form&amp;quot; component (e.g.: a Search box with a filter backed by SP list) within the multi-environment situation
&lt;br /&gt;
&lt;br /&gt;

Please share your best practices if you know any.
&lt;br /&gt;
&lt;br /&gt;
Thanks!</description></item></channel></rss>