<?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>Qdabra qRules</title><link>https://www.infopathdev.com:443/forums/131.aspx</link><description>qRules adds support to your InfoPath  forms. With qRules, you can add features to your form that require code, but without having to write it. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Determine which subsite called form?</title><link>https://www.infopathdev.com:443/forums/thread/100435.aspx</link><pubDate>Fri, 05 Dec 2014 14:38:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100435</guid><dc:creator>ChrisJackson19</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100435.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=100435</wfw:commentRss><description>klink, nice one and good detail.&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;ve was having a play with it earlier this morning and got it to work, although I think I&amp;#39;ll update my method for retrieving the list GUID to how your doing it above.&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;m currently storing the GUIDs in a list at the site collection root (all my subsites are provisioned programmatically anyway, so only slight amendment to record the GUIDs for my lists/libraries) but your way is more robust I think (especially if people delete the list items in my root GUIDs list by mistake).&lt;br /&gt;
&lt;br /&gt;
So I guess for anyone else in the future we&amp;#39;ve got a pretty good method for doing this.&lt;br /&gt;
&lt;br /&gt;
Syntax for Changing a SharePoint List Data Connection for future reference:&lt;br /&gt;
&lt;br /&gt;
ChangeConnectionUrl /dsname= /url= /listguid=</description></item><item><title>Re: Determine which subsite called form?</title><link>https://www.infopathdev.com:443/forums/thread/100431.aspx</link><pubDate>Fri, 05 Dec 2014 14:07:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100431</guid><dc:creator>klink</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100431.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=100431</wfw:commentRss><description>&lt;p&gt;Well, if you have read the first page of this message string, Hilary says:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;quot;&lt;em&gt;So - use ChangeConnectionUrl on the connection to lists.asmx to change it to your &amp;quot;current&amp;quot; site. Query the getlist method with your list name and one piece of info you&amp;#39;ll get back is the GUID. Use ChangeConnectionUrl with the top secret undocumented listguid parameter for your SharePoint list connection......and you will now be querying your &amp;quot;current&amp;quot; site. :) you will see that the &lt;strong&gt;listguid parameter is top secret and not documented anywhere&lt;/strong&gt; yet except this message string.&lt;/em&gt;&amp;quot;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Here is what I did in my form:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;SiteURL - Field with value = function&amp;nbsp;&lt;strong&gt;SharePointSiteUrl()&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;GUID - Field that contains the list&amp;#39;s GUID&lt;/li&gt;&lt;li&gt;ListName - Field for the name of the list I&amp;#39;m changing (Mine is set to &amp;quot;Agency&amp;quot;)&lt;/li&gt;&lt;li&gt;GetListUDC - Data Connection for GetList&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;On Qdabra&amp;#39;s finishLoading parameter, I set a rule to set the current URL:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;concat(&amp;quot;ChangeConnectionUrl /dsname=GetListUDC /url=&amp;quot;, SiteURL, &amp;quot;_vti_bin/lists.asmx&amp;quot;)&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Expanded:&amp;nbsp; concat(&amp;quot;ChangeConnectionUrl /dsname=GetListUDC /url=&amp;quot;, my:TestFields/my:SiteURL, &amp;quot;_vti_bin/lists.asmx&amp;quot;)&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;p&gt;To get the GUID for a specific list:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Set a field&amp;#39;s value:&amp;nbsp; listName (from the GetList data connection queryFields) to ListName (this is where I stored the name for my list)&lt;/li&gt;&lt;li&gt;Query using a data connection:&amp;nbsp; GetListUDC (the name of my data connection for GetList)&lt;/li&gt;&lt;li&gt;Set a field&amp;#39;s value:&amp;nbsp; &lt;strong&gt;GUID&lt;/strong&gt; to: &amp;nbsp;*[local-name() = &amp;quot;List&amp;quot;]/@*[local-name() = &amp;quot;ID&amp;quot;] &lt;/li&gt;&lt;ul&gt;&lt;li&gt;Expanded:&amp;nbsp; xdXDocument:GetDOM(&amp;quot;GetListUDC&amp;quot;)/dfs:myFields/dfs:dataFields/tns:GetListResponse/tns:GetListResult/*[local-name() = &amp;quot;List&amp;quot;]/@*[local-name() = &amp;quot;ID&amp;quot;]&lt;/li&gt;&lt;li&gt;&lt;em&gt;see Hilary&amp;#39;s excellent explanation on Page 2 of this message string.&lt;/em&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;p&gt;To retrieve the list you want with the correct URL/GUID (&lt;em&gt;this is the super-secret part!!!&lt;/em&gt;) (NOTE:&amp;nbsp; My list name is &amp;quot;Agency&amp;quot;)&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Set a field&amp;#39;s value:&amp;nbsp; Command (from QdabraRules) to:&amp;nbsp; concat(&amp;quot;ChangeConnectionUrl /dsname=&lt;strong&gt;Agency&lt;/strong&gt; /url=&amp;quot;, &lt;u&gt;SiteURL&lt;/u&gt;, &amp;quot; /listguid=&amp;quot;, &lt;u&gt;GUID&lt;/u&gt;)&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Expanded:&amp;nbsp; concat(&amp;quot;ChangeConnectionUrl /dsname=Agency /url=&amp;quot;, my:TestFields/my:SiteURL, &amp;quot; /listguid=&amp;quot;, my:TestFields/my:GUID)&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Query using a data connection: mine is &amp;quot;Agency&amp;quot;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Hopefully this makes sense.  Hilary, if you happen to be looking at this, please correct anything that I have wrong, or could have been done better!  =)&lt;/p&gt;</description></item><item><title>Re: Determine which subsite called form?</title><link>https://www.infopathdev.com:443/forums/thread/100429.aspx</link><pubDate>Fri, 05 Dec 2014 09:06:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100429</guid><dc:creator>ChrisJackson19</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100429.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=100429</wfw:commentRss><description>Sorry, I should have put it in context and given a bit more detail.&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;ve been using qrules for quite a while now on various projects, and have read both the documents you suggested, but this is the first time i&amp;#39;ve had cause to use the ChangeConnectionUrl function.&lt;br /&gt;
&lt;br /&gt;
I specifically need the syntax or examples when you are changing the connection URL for a &amp;quot;SharePoint List&amp;quot; Data Connection, and specifically the listguid switch.&lt;br /&gt;
&lt;br /&gt;
This doesn&amp;#39;t seem to be documented anywhere for this type of data connections despite being advertised as a new feature in v5.2.&lt;br /&gt;
&lt;br /&gt;
Thanks again.</description></item><item><title>Re: Determine which subsite called form?</title><link>https://www.infopathdev.com:443/forums/thread/100424.aspx</link><pubDate>Thu, 04 Dec 2014 19:43:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100424</guid><dc:creator>klink</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100424.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=100424</wfw:commentRss><description>&lt;p&gt;I used the &lt;a href="http://www.infopathdev.com/files/folders/qrules/entry90746.aspx"&gt;Command Overview&lt;/a&gt; document to start with.&amp;nbsp; You&amp;#39;ll find ChangeConnectionUrl under the Data Connection section.&amp;nbsp; I also used &lt;a href="http://www.infopathdev.com/files/folders/qrules/entry54050.aspx"&gt;Dynamically Set Submission for a Form Library and a List&lt;/a&gt;. And a LOT of help from Hilary in this post!&lt;/p&gt;</description></item><item><title>Re: Determine which subsite called form?</title><link>https://www.infopathdev.com:443/forums/thread/100423.aspx</link><pubDate>Thu, 04 Dec 2014 18:30:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100423</guid><dc:creator>ChrisJackson19</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100423.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=100423</wfw:commentRss><description>Is there any documentation for the changeconnectionurl command for sharepoint list connections or examples of the required syntax?

Thanks</description></item><item><title>Re: Determine which subsite called form?</title><link>https://www.infopathdev.com:443/forums/thread/100247.aspx</link><pubDate>Mon, 24 Nov 2014 15:53:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100247</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100247.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=100247</wfw:commentRss><description>&lt;p&gt;WHOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO HOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!&lt;/p&gt;
&lt;p&gt;Good job!&lt;/p&gt;</description></item><item><title>Re: Determine which subsite called form?</title><link>https://www.infopathdev.com:443/forums/thread/100246.aspx</link><pubDate>Mon, 24 Nov 2014 15:47:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100246</guid><dc:creator>klink</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100246.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=100246</wfw:commentRss><description>&lt;p&gt;It is working with the .udcx data connection!&amp;nbsp; After figuring out what to do without a developer, and then waiting until the developer got back to set the permissions correctly, it now works like a charm!&amp;nbsp; Even the super-secret listguid parameter!!!&lt;/p&gt;&lt;p&gt;As always, THANKS for your HELP!&lt;/p&gt;</description></item><item><title>Re: Determine which subsite called form?</title><link>https://www.infopathdev.com:443/forums/thread/100211.aspx</link><pubDate>Fri, 21 Nov 2014 16:28:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100211</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100211.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=100211</wfw:commentRss><description>&lt;p&gt;Pop your form over to me via email again and I&amp;#39;ll take a look at your logic, okay?&lt;/p&gt;</description></item><item><title>Re: Determine which subsite called form?</title><link>https://www.infopathdev.com:443/forums/thread/100207.aspx</link><pubDate>Fri, 21 Nov 2014 16:00:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100207</guid><dc:creator>klink</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100207.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=100207</wfw:commentRss><description>&lt;p&gt;Sorry, I should have stated that better.&lt;/p&gt;&lt;p&gt;When I am changing the url, it is to a subsite, not a completely different site.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Determine which subsite called form?</title><link>https://www.infopathdev.com:443/forums/thread/100204.aspx</link><pubDate>Fri, 21 Nov 2014 15:10:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100204</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100204.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=100204</wfw:commentRss><description>&lt;p&gt;Well - the whole point here is that you&amp;#39;ll be changing your GetList connection to the same site as the form is published to. So if you don&amp;#39;t have an error as long as the URL is the same site as the form is published to, I&amp;#39;d guess you are good without UDCX.&lt;/p&gt;
&lt;p&gt;If I were testing this, I would set up the logic to change the GetList connection to the same site as the form is published to, and try publishing the form to a different site - isn&amp;#39;t that the original problem you are trying to solve? &lt;/p&gt;</description></item><item><title>Re: Determine which subsite called form?</title><link>https://www.infopathdev.com:443/forums/thread/100203.aspx</link><pubDate>Fri, 21 Nov 2014 15:03:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100203</guid><dc:creator>klink</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100203.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=100203</wfw:commentRss><description>&lt;p&gt;Not in Office 365, but am in a claims-based site.&amp;nbsp; Developer decided to take off for 3 days, so I can&amp;#39;t see what the errors&amp;nbsp;are until Monday.&amp;nbsp; =(&lt;/p&gt;&lt;p&gt;I have made two data connections for GetList.&amp;nbsp;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;GetList&lt;/li&gt;&lt;li&gt;GetListUDC (that has been converted to a udcx file)&amp;nbsp;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;strong&gt;&lt;u&gt;GetList&lt;/u&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;If I do a ChangeConnectionUrl to the same site as the original GetList settings, and then query GetList, it works.&amp;nbsp;&lt;/li&gt;&lt;li&gt;If I do a ChangeConnectionUrl to a site different from the original, and then query GetList, I get an error.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;strong&gt;&lt;u&gt;GetListUDC&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;If I do a ChangeConnectionUrl to the same site as the original GetListUDC settings, I get an error.&lt;/li&gt;&lt;li&gt;If I do a ChangeConnectionUrl to a site different from the original, and then query GetListUDC, I get an error.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;No errors are showing up in Qdabra&amp;#39;s &amp;quot;Error&amp;quot; field in any instance.&lt;/p&gt;&lt;p&gt;I&amp;#39;ve had to jump through hoops before because of a claims-based site, so this may be part of the problem.&amp;nbsp; What I need to know is:&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;strong&gt;&lt;u&gt;Does ChangeConnectionUrl for GetList work if the data connection has been converted to .udcx?&lt;/u&gt;&amp;nbsp; &lt;/strong&gt;&lt;/em&gt;If so, I will continue down this road.&amp;nbsp; If not, I will stop!&lt;/p&gt;&lt;p&gt;THANKS!&lt;/p&gt;</description></item><item><title>Re: Determine which subsite called form?</title><link>https://www.infopathdev.com:443/forums/thread/100193.aspx</link><pubDate>Thu, 20 Nov 2014 20:00:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100193</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100193.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=100193</wfw:commentRss><description>&lt;p&gt;What is going wrong in the browser? Is it a data connection error? You aren&amp;#39;t using Office 365, are you (sorry, should have asked that right at the start)?&lt;/p&gt;</description></item><item><title>Re: Determine which subsite called form?</title><link>https://www.infopathdev.com:443/forums/thread/100182.aspx</link><pubDate>Thu, 20 Nov 2014 16:04:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100182</guid><dc:creator>klink</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100182.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=100182</wfw:commentRss><description>&lt;p&gt;ARGH!!!&amp;nbsp; This works GREAT from my desktop, but NOT when I publish.&lt;/p&gt;&lt;p&gt;So, will this still work if I convert GetList to udcx file?&lt;/p&gt;</description></item><item><title>Re: Determine which subsite called form?</title><link>https://www.infopathdev.com:443/forums/thread/100176.aspx</link><pubDate>Thu, 20 Nov 2014 13:21:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100176</guid><dc:creator>klink</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100176.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=100176</wfw:commentRss><description>LOL!&amp;nbsp; Thought of that in the middle of the night!&amp;nbsp; Trying this morning.&amp;nbsp;</description></item><item><title>Re: Determine which subsite called form?</title><link>https://www.infopathdev.com:443/forums/thread/100165.aspx</link><pubDate>Wed, 19 Nov 2014 22:17:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100165</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100165.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=100165</wfw:commentRss><description>&lt;p&gt;Well - remember, the URL to the lists service is &lt;a href="http://server/site/_vti_bin/lists.asmx"&gt;http://server/site/_vti_bin/lists.asmx&lt;/a&gt;. So, if you set it &lt;a href="http://server/site"&gt;http://server/site&lt;/a&gt; it is going to fail. You&amp;#39;ll need to concat in the rest of the URL.&lt;/p&gt;</description></item></channel></rss>