<?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: Dynamic Data Connections</title><link>https://www.infopathdev.com:443/forums/thread/16578.aspx</link><pubDate>Fri, 09 Feb 2007 08:49:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16578</guid><dc:creator>happydigit</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16578.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16578</wfw:commentRss><description>Thanks a lot. I solved the my problem by using UDCX Files. The think is, that a have to eit these files later if I use another system because at current time it is not possible to design formlibrarys and content type as a feature.&lt;br /&gt;&lt;br /&gt;But it helps.</description></item><item><title>Re: Dynamic Data Connections</title><link>https://www.infopathdev.com:443/forums/thread/16577.aspx</link><pubDate>Tue, 06 Feb 2007 18:10:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16577</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16577.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16577</wfw:commentRss><description>Hi Sebastian,&lt;br /&gt;&lt;br /&gt;The best way to do this is to use InfoPath 2007's UDCs.  If this is unavailable you could try changing the data connections in code depending on where the form is being opened from.  I don't know the exact syntax and I'm away from my dev box right now, but it'd go something like this: Put this code in the OnLoad.  &lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;br /&gt;OnLoad()&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;//...&lt;br /&gt;&lt;br /&gt;string sURI = thisXDocument.SolutionURI; // This might be on thisApplication&lt;br /&gt;&lt;br /&gt;switch( sURI )&lt;br /&gt;{&lt;br /&gt;   case "http://devServer":&lt;br /&gt;      UpdateDataConnections( "http://devServer/DataconnectionString" );&lt;br /&gt;      break;&lt;br /&gt;&lt;br /&gt;   // Fill in the rest here&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//...&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;private void UpdateDataConnections( string uri )&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;   // Not sure if it should be DataAdapters or DataObjects&lt;br /&gt;   //foreach( DataAdapter adapter in thisXDocument.DataAdapters )&lt;br /&gt;   foreach( DataObjects adapter in thisXDocument.DataObjects )&lt;br /&gt;   {&lt;br /&gt;       if( adapter instanceof WebServiceAdapter )&lt;br /&gt;           adapter.URI = uri;&lt;br /&gt;&lt;br /&gt;    }&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Hopefully you catch the drift, but if you hit problems, let me know!</description></item><item><title>Dynamic Data Connections</title><link>https://www.infopathdev.com:443/forums/thread/15538.aspx</link><pubDate>Tue, 06 Feb 2007 11:52:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15538</guid><dc:creator>happydigit</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15538.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=15538</wfw:commentRss><description>Hello,&lt;br /&gt;&lt;br /&gt;I have a question: How can I send and receive between my browser enabled InfoPath form and SharePoint Lists and Libraries? In my scenario I have two SharePoint servers&lt;br /&gt;&lt;br /&gt;1. Development and testing server&lt;br /&gt;2. Live System&lt;br /&gt;&lt;br /&gt;In InfoPath I define the data connections static: I said&lt;a target="_blank" href=http://servername&gt;http://servername&lt;/a&gt; and so on... how can I configure this dynamically?</description></item></channel></rss>