<?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: Problems with ChangeSubmitUrl</title><link>https://www.infopathdev.com:443/forums/thread/101250.aspx</link><pubDate>Mon, 16 Feb 2015 20:08:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101250</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101250.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=101250</wfw:commentRss><description>&lt;p&gt;Well - I&amp;#39;m guessing that your mapping file uses the list GUID - so when you change the URL, the list can&amp;#39;t be found - there is no list on the new site w/ the same GUID. I&amp;#39;ll fix up your mapping file and email it back to you.&lt;/p&gt;</description></item><item><title>Re: Problems with ChangeSubmitUrl</title><link>https://www.infopathdev.com:443/forums/thread/101249.aspx</link><pubDate>Mon, 16 Feb 2015 20:04:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101249</guid><dc:creator>klink</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101249.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=101249</wfw:commentRss><description>&lt;p&gt;Found out that my form was somehow corrupted, hence why I was getting the errors.&amp;nbsp; Went back to an earlier version.&amp;nbsp; So, here&amp;#39;s where I am...&lt;/p&gt;&lt;p&gt;Added a rule to set SharePointListURL = SiteURL (which is the subsite URL).&amp;nbsp; I am getting this error:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;The list that is referenced here no longer exists.&amp;nbsp; =(&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Found an article that said this:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;If your site URL is http://my_share_point_site, the list.asmx can be found 
at http://my_share_point_site/sites/main/_vti_bin/lists.asmx?WSDL and you could 
use that URL to reference the API and some things might work. When you attempt 
to update a list found under some &lt;b&gt;sub_site&lt;/b&gt;, your updates will silently 
fail. You have to 
reference http://my_share_point_site/sites/main/sub_site&lt;strong&gt;&lt;u&gt;/&lt;/u&gt;&lt;em&gt;_vti_bin/lists.asmx?WSDL&lt;/em&gt;&lt;/strong&gt; 
for updates to your subsite.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;I tried adding that the the url and didn&amp;#39;t get an error.&amp;nbsp; However, it updated to the main site, not the subsite.&amp;nbsp; ARGH!&lt;/p&gt;&lt;p&gt;I&amp;#39;m going to send you the mapping file in an email...&lt;/p&gt;&lt;p&gt;THANKS!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Problems with ChangeSubmitUrl</title><link>https://www.infopathdev.com:443/forums/thread/101244.aspx</link><pubDate>Mon, 16 Feb 2015 16:25:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101244</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101244.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=101244</wfw:commentRss><description>&lt;p&gt;Yes. As I said above - the node in the mapping (which you have a data connection to) is SharePointListURL. So, in a rule right before your SubmitToSharePointList rule, you select &amp;quot;Set a field&amp;#39;s value&amp;quot;. For the field to set, select the mapping data source - looks like yours is named mappingAgencyLocation. In that data source, select the SharePointListURL node. Set it to whatever the site is supposed to be that you are submitting data to. You&amp;#39;ll also need to make sure in your mapping XML you&amp;#39;ve set it to use the list name - feel free to attach your mapping fie if you want me to check that. You can go to the Data tab in the ribbon, and under Resources, find and export the mapping file.&lt;/p&gt;</description></item><item><title>Re: Problems with ChangeSubmitUrl</title><link>https://www.infopathdev.com:443/forums/thread/101243.aspx</link><pubDate>Mon, 16 Feb 2015 16:20:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101243</guid><dc:creator>klink</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101243.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=101243</wfw:commentRss><description>&lt;p&gt;I get the rule.&amp;nbsp; I don&amp;#39;t get how to set the node in the mapping data connection.&amp;nbsp; =(&lt;/p&gt;&lt;p&gt;So, here&amp;#39;s my submit:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;SubmitToSharePointList /submit=SPListSubmit /mapping=mappingAgencyLocation&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Is there a node with the url?&amp;nbsp; ARGH!&lt;/p&gt;</description></item><item><title>Re: Problems with ChangeSubmitUrl</title><link>https://www.infopathdev.com:443/forums/thread/101242.aspx</link><pubDate>Mon, 16 Feb 2015 16:09:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101242</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101242.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=101242</wfw:commentRss><description>&lt;p&gt;You just use a normal rule? And set the node in the mapping data connection to the URL you want?&lt;/p&gt;</description></item><item><title>Re: Problems with ChangeSubmitUrl</title><link>https://www.infopathdev.com:443/forums/thread/101239.aspx</link><pubDate>Mon, 16 Feb 2015 16:02:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101239</guid><dc:creator>klink</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101239.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=101239</wfw:commentRss><description>&lt;p&gt;Argh.&amp;nbsp; It&amp;#39;s Monday, I&amp;#39;ve been gone for a week, and I am brain-dead.&amp;nbsp; So-ooo,&amp;nbsp;this statement:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;ChangeSubmitUrl won&amp;#39;t have the outcome you desire for your SubmitToSharePointList command, since the command is already using the URL from the mapping file, not from the data connection. &lt;em&gt;So a rule to just change that URL in the mapping file should give you the result you want.&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;How do I change the URL in the mapping file?&amp;nbsp; =(&lt;/p&gt;</description></item><item><title>Re: Problems with ChangeSubmitUrl</title><link>https://www.infopathdev.com:443/forums/thread/101233.aspx</link><pubDate>Mon, 16 Feb 2015 15:49:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101233</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101233.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=101233</wfw:commentRss><description>&lt;p&gt;I realized I should have included a bit more information, sorry. :)&lt;/p&gt;
&lt;p&gt;So - SubmitToSharePointList uses a Submit data connection. That means that when the data connection is executed (as it is during the SubmitToSharePointList command), InfoPath checks the validation on the main data source. If there are validation errors, the submit data connection can&amp;#39;t execute, and the command returns an error.&lt;/p&gt;
&lt;p&gt;The ClearErrors command will clear the validation errors for the session (so you want to use that with care, as you may not want a user to be able to submit a form with validation errors) - you know about the GetErrors command, I think we discussed it in a different post.&lt;/p&gt;
&lt;p&gt;ChangeSubmitUrl won&amp;#39;t have the outcome you desire for your SubmitToSharePointList command, since the command is already using the URL from the mapping file, not from the data connection. So a rule to just change that URL in the mapping file should give you the result you want.&lt;/p&gt;</description></item><item><title>Re: Problems with ChangeSubmitUrl</title><link>https://www.infopathdev.com:443/forums/thread/101232.aspx</link><pubDate>Mon, 16 Feb 2015 15:38:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101232</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101232.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=101232</wfw:commentRss><description>&lt;p&gt;Well - that error is specifically about the main data source having validation errors. You can add a ClearErrors command to clear these - do you have required fields that are not filled out when you run your SubmitToSharePointList command?&lt;/p&gt;
&lt;p&gt;Also- the SubmitToSharePointList command uses the SharePoint URL from the mapping file - so instead of using ChangeSubmitUrl here, you will want to actually change the mapping node that contains the SharePoint URL - the node in the mapping file is SharePointListURL.&lt;/p&gt;</description></item><item><title>Problems with ChangeSubmitUrl</title><link>https://www.infopathdev.com:443/forums/thread/101231.aspx</link><pubDate>Mon, 16 Feb 2015 13:49:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101231</guid><dc:creator>klink</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101231.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=101231</wfw:commentRss><description>&lt;p&gt;The facts:&amp;nbsp;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;InfoPath 2010&lt;/li&gt;&lt;li&gt;qRules&lt;/li&gt;&lt;li&gt;Using Web Services&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;The goal:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;To dynamically receive and submit data to several lists, depending on the site the user is in.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;What works:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Changing the connection url:&amp;nbsp; concat(&amp;quot;ChangeConnectionUrl /dsname=GetListUDC /url=&amp;quot;, SiteURL, &amp;quot;_vti_bin/lists.asmx&amp;quot;)&lt;/li&gt;&lt;li&gt;Getting the lists GUID:&amp;nbsp; concat(&amp;quot;GetListGuid /dsname=GetListUDC /listname=&amp;quot;, ListName)&lt;/li&gt;&lt;li&gt;Changing the list connection:&amp;nbsp; concat(&amp;quot;ChangeConnectionUrl /dsname=Agency-Location /url=&amp;quot;, SiteURL, &amp;quot; /listguid=&amp;quot;, GUID)&lt;/li&gt;&lt;li&gt;Query of list&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;What DOESN&amp;#39;T work:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Changing the Submit URL:&amp;nbsp; concat(&amp;quot;ChangeSubmitUrl /submit=SPListSubmit /url=&amp;quot;, SiteURL, ListName)&lt;/li&gt;&lt;li&gt;On submit I get these errors:&lt;/li&gt;&lt;/ul&gt;&lt;blockquote&gt;&lt;blockquote&gt;&lt;p&gt;The form has validation errors and the submit data connection cannot execute.&amp;nbsp;&amp;nbsp; &lt;br /&gt;Extended Details: Qdabra.Tools.RulesLibrary.RulesLibraryException: The form has validation errors and the submit data connection cannot execute.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;at Qdabra.Tools.RulesLibrary.SubmitToSharePointList.Execute()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;at Qdabra.Tools.RulesLibrary.CommandStarter.Run()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;at Qdabra.Tools.RulesLibrary.Commands.ExecuteCommand()&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;p&gt;I&amp;nbsp;only get these errors when I&amp;nbsp;change the submit url.&amp;nbsp; I presume SOMETHING is wrong with my ChangeSubmitUrl statement, but I don&amp;#39;t know what.&amp;nbsp; =(&lt;/p&gt;&lt;p&gt;&amp;nbsp;PLEASE HELP!!!&amp;nbsp; (Okay, no panic here.&amp;nbsp; But I do have a deadline of the end of the month, so any help you can give me would be GREAT!)&amp;nbsp; THANKS!&lt;/p&gt;</description></item></channel></rss>