<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Submitting data to secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/120942.aspx</link><pubDate>Tue, 07 May 2019 15:15:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120942</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120942.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=120942</wfw:commentRss><description>I replied to your new thread, but wanted to add this here as well: https://www.infopathdev.com/forums/t/26246.aspx has some step by step guidance.</description></item><item><title>Re: Submitting data to secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/120934.aspx</link><pubDate>Tue, 07 May 2019 06:16:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120934</guid><dc:creator>ncodename.sabir</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120934.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=120934</wfw:commentRss><description>Hi,

I couldn&amp;#39;t caught up how did you managed to do this. Do you have a step by step guide on how to do this?</description></item><item><title>Re: Submitting data to secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/55181.aspx</link><pubDate>Fri, 21 May 2010 14:28:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55181</guid><dc:creator>m3_del</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55181.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=55181</wfw:commentRss><description>&lt;p&gt;I am very glad. Thank you for sticking with me on this! I have learned more about infopath this week then all my previous encounters before! Thanks again!&lt;/p&gt;</description></item><item><title>Re: Submitting data to secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/55159.aspx</link><pubDate>Fri, 21 May 2010 00:40:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55159</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55159.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=55159</wfw:commentRss><description>&lt;p&gt;Well, that is an odd one! Good job figuring it out, tho. You must be quite pleased to be done with this one!&lt;/p&gt;</description></item><item><title>Re: Submitting data to secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/55141.aspx</link><pubDate>Thu, 20 May 2010 17:43:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55141</guid><dc:creator>m3_del</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55141.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=55141</wfw:commentRss><description>&lt;p&gt;Ok, so&amp;nbsp;I got rid of the on change rule for the checkbox and made a rule for on submit that changes the field[@Name=&amp;#39;Virtualized&amp;#39;] to the checkbox value. This works as intended. Strange that the same exact rule for the checkbox onchange is unable to remain consistent in the web form version&lt;/p&gt;</description></item><item><title>Re: Submitting data to secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/55067.aspx</link><pubDate>Wed, 19 May 2010 17:40:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55067</guid><dc:creator>m3_del</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55067.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=55067</wfw:commentRss><description>&lt;p&gt;No Errors on Design checker.&lt;/p&gt;
&lt;p&gt;Here are my two rule sets that I have the first group applies when I&amp;nbsp;change&amp;nbsp;the server drop down. The second&amp;nbsp;applies when I change the value of the virtualized check box. (btw how do I put code into its own section on these boards? I am not seeing a code tag) The first set work both when i preview the form and when I publish the form and open in my browser (ie8). The second however, works in preview mode. But once I publish and try it in the browser when I change the checkbox value both ID and Virtualized change to true or false. This is obviously overriding the ID field. Screenshots below to illustrate.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsf:assignmentAction targetField=&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;update&amp;amp;quot;)/Batch/Method/Field[@Name=&amp;#39;Virtualized&amp;#39;]&amp;quot; expression=&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;Regional Servers&amp;amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Virtualized[xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:Title = ../d:Title]&amp;quot;&amp;gt;&amp;lt;/xsf:assignmentAction&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsf:assignmentAction targetField=&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;update&amp;amp;quot;)/Batch/Method/@ID&amp;quot; expression=&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;Regional Servers&amp;amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:ID[xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:Title = ../d:Title]&amp;quot;&amp;gt;&amp;lt;/xsf:assignmentAction&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsf:assignmentAction targetField=&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;update&amp;amp;quot;)/Batch/Method/Field[@Name=&amp;#39;ID&amp;#39;]&amp;quot; expression=&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;Regional Servers&amp;amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:ID[xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:Title = ../d:Title]&amp;quot;&amp;gt;&amp;lt;/xsf:assignmentAction&amp;gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsf:assignmentAction targetField=&amp;quot;../my:virtualized&amp;quot; expression=&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;Regional Servers&amp;amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Virtualized[xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:Title = ../d:Title]&amp;quot;&amp;gt;&amp;lt;/xsf:assignmentAction&amp;gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsf:assignmentAction targetField=&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;update&amp;amp;quot;)/Batch/Method/Field[@Name=&amp;#39;Virtualized&amp;#39;]&amp;quot; expression=&amp;quot;.&amp;quot;&amp;gt;&amp;lt;/xsf:assignmentAction&amp;gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Image of the form after&amp;nbsp;I select a server. It successfully grabs the &amp;quot;Virtualized&amp;quot; value from the secondary datasource as you can see&amp;nbsp;both the checkbox and the table at the bottom are set to true.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://img261.imageshack.us/img261/6066/ss20100519103716.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When I uncheck the check box you can see that both the ID and Virtualized fields change to false. This behaivior is not mirrored when I open the form in Infopath and use the preview function.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://img718.imageshack.us/img718/6872/ss20100519103936.png" alt="" /&gt;&lt;/p&gt;</description></item><item><title>Re: Submitting data to secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/55065.aspx</link><pubDate>Wed, 19 May 2010 16:51:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55065</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55065.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=55065</wfw:commentRss><description>&lt;p&gt;Both changing to what? If you use the Design Checker on your form, are there any errors? This could be because of the filtered XPath for the rule targets....&lt;/p&gt;</description></item><item><title>Re: Submitting data to secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/55064.aspx</link><pubDate>Wed, 19 May 2010 16:46:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55064</guid><dc:creator>m3_del</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55064.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=55064</wfw:commentRss><description>&lt;p&gt;So here we are I think I finally have it working!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;At least when I preview in Infopath...&lt;/p&gt;
&lt;p&gt;When I publish and try in the web browser I end up with the ID and Virtualized Fields both changing instead of just one. Can I expect these forms not to work in web format? I am not sure that is a big deal, just would be nice to know for sure.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;BTW thank you so much for your patience with me on this! I am glad I finally have it working definately learned a lot on the way.&lt;/p&gt;</description></item><item><title>Re: Submitting data to secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/55062.aspx</link><pubDate>Wed, 19 May 2010 16:38:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55062</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55062.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=55062</wfw:commentRss><description>&lt;p&gt;See how in your expression for the ID field you have a filtered XPath? &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;expression=&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;Regional Servers&amp;amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:ID&lt;strong&gt;[xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:Title = ../d:Title]&lt;/strong&gt;&amp;quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;While in your expression for the Virtualized field you do not? So the expression for the Virtualized field will currently always return the first Virtualized node in the Regional Servers data source. I&amp;#39;m going to guess that the same filter in the working expression would work in your expression for the virtualized field.&lt;/p&gt;
&lt;p&gt;Your intial XPaths to the fields were incorrect. Instead of this: Field&lt;strong&gt;[../@Name=&amp;#39;ID&amp;#39;]&lt;/strong&gt;, you&amp;#39;d want: Field[@Name=&amp;#39;ID&amp;#39;].&lt;/p&gt;</description></item><item><title>Re: Submitting data to secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/55061.aspx</link><pubDate>Wed, 19 May 2010 16:31:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55061</guid><dc:creator>m3_del</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55061.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=55061</wfw:commentRss><description>&lt;p&gt;Ok,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Here is what is mostly working now.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsf:assignmentAction &lt;strong&gt;targetField=&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;update&amp;amp;quot;)/Batch/Method/Field[2]&amp;quot;&lt;/strong&gt; expression=&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;Regional Servers&amp;amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Virtualized&amp;quot;&amp;gt;&amp;lt;/xsf:assignmentAction&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsf:assignmentAction targetField=&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;update&amp;amp;quot;)/Batch/Method/@ID&amp;quot; expression=&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;Regional Servers&amp;amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:ID[xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:Title = ../d:Title]&amp;quot;&amp;gt;&amp;lt;/xsf:assignmentAction&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsf:assignmentAction&lt;strong&gt; targetField=&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;update&amp;amp;quot;)/Batch/Method/Field[1]&amp;quot;&lt;/strong&gt; expression=&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;Regional Servers&amp;amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:ID[xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:Title = ../d:Title]&amp;quot;&amp;gt;&amp;lt;/xsf:assignmentAction&amp;gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Now the ID field is updating but the virtualized always says true...getting closer&lt;/p&gt;</description></item><item><title>Re: Submitting data to secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/55056.aspx</link><pubDate>Wed, 19 May 2010 15:34:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55056</guid><dc:creator>m3_del</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55056.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=55056</wfw:commentRss><description>&lt;p&gt;Here is the modified (unworking) manifest.xsf. For the first and last assignmentAction I have added&amp;nbsp;in [../@Name=&amp;#39;Virtualized&amp;#39;] and&amp;nbsp;[../@Name=&amp;#39;ID&amp;#39;] I have also tried without the @ symbol. I understand this as &amp;quot;change the value of the field where the name equals Virtualized&amp;quot; Am I reading this correctly?&amp;nbsp;I am slowly starting to &amp;quot;get it&amp;quot;, thanks for your help!&lt;/p&gt;
&lt;p&gt;&amp;lt;xsf:ruleSet name=&amp;quot;ruleSet_5&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsf:rule caption=&amp;quot;Rule 1&amp;quot; isEnabled=&amp;quot;yes&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsf:assignmentAction targetField=&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;update&amp;amp;quot;)/Batch/Method/Field&lt;strong&gt;[../@Name=&amp;#39;Virtualized&amp;#39;]&lt;/strong&gt;&amp;quot; expression=&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;Regional Servers&amp;amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Virtualized&amp;quot;&amp;gt;&amp;lt;/xsf:assignmentAction&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsf:assignmentAction targetField=&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;update&amp;amp;quot;)/Batch/Method/@ID&amp;quot; expression=&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;Regional Servers&amp;amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:ID[xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:Title = ../d:Title]&amp;quot;&amp;gt;&amp;lt;/xsf:assignmentAction&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xsf:assignmentAction targetField=&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;update&amp;amp;quot;)/Batch/Method/Field&lt;strong&gt;[../@Name=&amp;#39;ID&amp;#39;]&lt;/strong&gt;&amp;quot; expression=&amp;quot;xdXDocument:GetDOM(&amp;amp;quot;Regional Servers&amp;amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:ID[xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:Title = ../d:Title]&amp;quot;&amp;gt;&amp;lt;/xsf:assignmentAction&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/xsf:rule&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/xsf:ruleSet&amp;gt;&lt;/p&gt;</description></item><item><title>Re: Submitting data to secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/55003.aspx</link><pubDate>Tue, 18 May 2010 23:01:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55003</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55003.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=55003</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m sorry, I forgot about that IP limitation for rules. &lt;a href="http://www.infopathdev.com/blogs/hilary/archive/2009/06/07/hack-manifest-xsf-to-filter-the-target-of-a-rule.aspx"&gt;Here&amp;#39;s&lt;/a&gt; a blog post that explains how to do this in the manifest. &lt;/p&gt;</description></item><item><title>Re: Submitting data to secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/55002.aspx</link><pubDate>Tue, 18 May 2010 22:48:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55002</guid><dc:creator>m3_del</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55002.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=55002</wfw:commentRss><description>&lt;p&gt;When I add a second Field in the CAML and I add a control source on the form it is a repeating field. There is now no way for me update the fields via rules. Is this something that can not be done natively in infopath? When I tell Infopath to update &amp;quot;field&amp;quot; on the update datasource it fills in both ID and Virtualized with the same data.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://img297.imageshack.us/img297/764/ss20100518155806.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After selecting a server This is what my form looks like&lt;/p&gt;
&lt;p&gt;&lt;img src="http://img696.imageshack.us/img696/4886/ss20100518160137.png" alt="" /&gt;&lt;/p&gt;</description></item><item><title>Re: Submitting data to secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/55001.aspx</link><pubDate>Tue, 18 May 2010 22:17:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55001</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55001.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=55001</wfw:commentRss><description>&lt;p&gt;Put a control on your form bound to your update datasource, so you can verify what your resulting CAML looks like after your rules run. You also need to add another Field node to your XML for your update data source -- as I mentioned early on, you need &amp;lt;Field Name=&amp;quot;ID&amp;quot;&amp;gt;&amp;lt;/Field&amp;gt;.&lt;/p&gt;
&lt;p&gt;Your CAML should probably look something like this prior to being submitted:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;Batch OnError=&amp;quot;Continue&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Method ID=&amp;quot;15&amp;quot; Cmd=&amp;quot;Update&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Field Name=&amp;quot;ID&amp;quot;&amp;gt;15&amp;lt;/Field&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Field Name=&amp;quot;Virtualized_x003f_&amp;quot;&amp;gt;true&amp;lt;/Field&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Method&amp;gt;&lt;br /&gt;&amp;lt;/Batch&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&amp;quot;15&amp;quot; is an ID I just made up. You may or may not have an item with an ID of 15. I really really really encourage you to try the &lt;a href="http://www.u2u.be/res/Tools/SharePointCamlQueryBuilder.aspx"&gt;U2U CAML Query Builder&lt;/a&gt; -- it is free and can help you get your CAML right.&lt;/p&gt;</description></item><item><title>Re: Submitting data to secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/54987.aspx</link><pubDate>Tue, 18 May 2010 17:01:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54987</guid><dc:creator>m3_del</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54987.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=54987</wfw:commentRss><description>&lt;p&gt;I am still just baffled by this method to update a secondary data source. Here is everything I have that is (I think) related to updating a field. Maybe you can see where I have gone wrong.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;List GUID and Field I want to update names ----&amp;gt;&lt;/strong&gt; &lt;a href="http://sharepoint.anm.faa.gov/sites/ARCIT/ARCIT_Projects/ARCIT_Server_Virtualization/_layouts/FldEdit.aspx?List=%7BFAB4BBFC%2D0EAC%2D4BBF%2D87D7%2D1BC8BFFEF76E%7D&amp;amp;Field=Virtualized%5Fx003f%5F"&gt;List=%7BFAB4BBFC%2D0EAC%2D4BBF%2D87D7%2D1BC8BFFEF76E%7D&amp;amp;Field=Virtualized%5Fx003f%5F&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;CAML that I have&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;Batch OnError=&amp;quot;Continue&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Method ID=&amp;quot;1&amp;quot; Cmd=&amp;quot;Update&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Field Name=&amp;#39;Virtualized_x003f_&amp;#39;&amp;gt;&amp;lt;/Field&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Method&amp;gt;&lt;br /&gt;&amp;lt;/Batch&amp;gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;When I change&amp;nbsp;the drop down box for server&amp;nbsp;name these are the rules that apply&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://img237.imageshack.us/img237/67/ss20100518094856.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;@ID is the Method ID under the caml Datasource I believe I have it changing to the row ID of the Server List where the server name selected matches the server name in the list. I also set the Virtualized (check box @name in CAML) field to match what the server list already has for that field for that server.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;This shows the form and the checkbox that associates&amp;nbsp;with the Name field on the CAML datasource&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="http://img175.imageshack.us/img175/53/ss20100518094533.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Shows the Submit Options&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://img16.imageshack.us/img16/3848/ss20100518094936.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Submit rules to&amp;nbsp;submit both main form data and web service submit&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://img168.imageshack.us/img168/2726/ss20100518094958.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Showing my data sources&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://img295.imageshack.us/img295/8994/ss20100518095038.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Web Service Submit datasource details&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://img443.imageshack.us/img443/6160/ss20100518095123.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://img16.imageshack.us/img16/5815/ss20100518095150.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;The field ListName and its default value of the Regional Servers GUID list at the top of this post.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://img215.imageshack.us/img215/4981/ss20100518095218.png" alt="" /&gt;&lt;/p&gt;Maybe this will help someone see where I have gone wrong. I am not in a position that can buy additional software for this. Thanks for the help, it is much appriciated! Also if I have left any key info out, please let me know!</description></item></channel></rss>