<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Problem setting field values with filter</title><link>https://www.infopathdev.com:443/forums/thread/57773.aspx</link><pubDate>Sun, 08 Aug 2010 17:05:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57773</guid><dc:creator>SteveJones</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57773.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=57773</wfw:commentRss><description>&lt;p&gt;I have managed to bypass this issue by writing code behind to accomplish this task. I loop thru the DocOwner nodes to find the&amp;nbsp;one with the ID that matches, then I set the other childnodes as required.&amp;nbsp;I&amp;nbsp;was hoping to avoid code in the form, but it seems unavoidable. Is there a way to select the proper DocOwner node without looping thru them? something like &amp;#39; dest = ...selectSingleNode(&amp;quot;../my:DocOwner[CurrentID]&amp;quot;)? &lt;/p&gt;
&lt;p&gt;I guess the way the filters were designed to work was to set a value of a non-repeating node from a value in a repeating node (filtered), but I am trying to do the reverse.&lt;/p&gt;</description></item><item><title>Problem setting field values with filter</title><link>https://www.infopathdev.com:443/forums/thread/57767.aspx</link><pubDate>Sat, 07 Aug 2010 18:19:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57767</guid><dc:creator>SteveJones</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57767.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=57767</wfw:commentRss><description>&lt;p&gt;I can&amp;#39;t get a filter to work when saving form data to the xml. My xml contains these nodes:&lt;/p&gt;
&lt;p&gt;&amp;lt;my:myFields&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;my:CurrentID /&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;my:Action /&amp;gt;&lt;br /&gt;&amp;nbsp;...&lt;br /&gt;&amp;nbsp; &amp;lt;my:DocOwners&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;my:DocOwner&amp;gt; (this is a repeating node)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;my:DocOwnerID /&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;my:DocOwnerAction /&amp;gt;&lt;br /&gt;&amp;nbsp;...&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/my:DocOwner&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/my:DocOwners&amp;gt;&lt;br /&gt;&amp;nbsp;...&lt;br /&gt;&amp;lt;/my:myFields&amp;gt;&lt;/p&gt;
&lt;p&gt;DocOwner has two rows, and DocOwnerID is populated with two different user IDs. These two people receive an email note with a link to the document.&amp;nbsp;When they open the form, a web service populates CurrentID with their user ID from Active Directory. Action is a dropdown list and they have to select a value&amp;nbsp;prior to clicking the submit button. 
&lt;p&gt;There is&amp;nbsp;a rule set on&amp;nbsp;the Submit button that says to set the DocOwnerAction Field from the Action Field with the rule [DocOwnerID = CurrentID].&amp;nbsp;The second rule submits the form to a&amp;nbsp;Sharepoint Form Library.&amp;nbsp;But upon execution by the first person it sets both DocOwnerAction fields, and then upon execution by the second person it sets both DocOwnerAction fields to the new value. 
&lt;p&gt;Any ideas? &lt;/p&gt;</description></item></channel></rss>