<?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: Issue after updating Form Template from IP 2007 to IP 2013</title><link>https://www.infopathdev.com:443/forums/thread/107863.aspx</link><pubDate>Fri, 02 Sep 2016 22:11:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107863</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107863.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=107863</wfw:commentRss><description>Sorry you ended up sort of talking to yourself on this one - but I&amp;#39;m glad you got it figured out &amp;amp; thanks for posting :)</description></item><item><title>Re: Issue after updating Form Template from IP 2007 to IP 2013</title><link>https://www.infopathdev.com:443/forums/thread/107862.aspx</link><pubDate>Fri, 02 Sep 2016 18:57:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107862</guid><dc:creator>David Alvarado</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107862.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=107862</wfw:commentRss><description>Figured it out, sort of.
&lt;br /&gt;&lt;br /&gt;
This XPath fixed the issue for me:&lt;br /&gt;
concat(xdXDocument:GetDOM(&amp;quot;Departments&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:ID&lt;br /&gt;
[&lt;b&gt;&lt;u&gt;../d:Title&lt;/u&gt;&lt;/b&gt; = &lt;br /&gt;
xdXDocument:get-DOM()/my:myFields/my:grpEmployee/my:ef_Department], &amp;quot;;#&amp;quot;, /my:myFields/my:grpEmployee/my:ef_Department)
&lt;br /&gt;&lt;br /&gt;
The code highlighted in bold underline is the only difference between this XPath formula that successfully populates the correct value ID and the XPath code from Formula 2 above.
&lt;br /&gt;&lt;br /&gt;
To me, it seems to be the same formula but apparently not.
&lt;br /&gt;&lt;br /&gt;
Anyways, looks like all&amp;#39;s well here. Thanks.</description></item><item><title>Re: Issue after updating Form Template from IP 2007 to IP 2013</title><link>https://www.infopathdev.com:443/forums/thread/107861.aspx</link><pubDate>Fri, 02 Sep 2016 18:15:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107861</guid><dc:creator>David Alvarado</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107861.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=107861</wfw:commentRss><description>I was able to get an ID number to populate in the formula, however it is the wrong ID number... a static ID number populates regardless of which value in the dropdown list I select. 
&lt;br /&gt;&lt;br /&gt;
In this example, the value that was selected from the dropdown list control has ID=10 and Title=Budget Office.
&lt;br /&gt;&lt;br /&gt;
Here are the two formulas and their outputs:
&lt;br /&gt;&lt;br /&gt;
Formula 1: Outputs a value missing an ID number altogether. &lt;b&gt;;#Budget Office&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;
concat(xdXDocument:GetDOM(&amp;quot;Departments&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:ID&lt;br /&gt;
[xdXDocument:GetDOM(&amp;quot;Departments&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Title = &lt;br /&gt;
/my:myFields/my:grpEmployee/my:ef_Department], &amp;quot;;#&amp;quot;, /my:myFields/my:grpEmployee/my:ef_Department)
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
Formula 2:Outputs a value with an incorrect ID number: &lt;b&gt;25;#Budget Office&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;
concat(xdXDocument:GetDOM(&amp;quot;Departments&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:ID&lt;br /&gt;
[xdXDocument:GetDOM(&amp;quot;Departments&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Title = &lt;br /&gt;
&lt;b&gt;&lt;u&gt;xdXDocument:get-DOM()&lt;/u&gt;&lt;/b&gt;/my:myFields/my:grpEmployee/my:ef_Department], &amp;quot;;#&amp;quot;, /my:myFields/my:grpEmployee/my:ef_Department)
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
The only difference between the two formulas is highlighted in bold underline in Formula 2.
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;b&gt;The correct output should be: 10;#Budget Office &lt;/b&gt;
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
Unfortunately, ID number 25 is populated with Formula 2 regardless of which value is selected...
&lt;br /&gt;&lt;br /&gt;
Again, any help is greatly appreciated!</description></item><item><title>Issue after updating Form Template from IP 2007 to IP 2013 [SOLVED]</title><link>https://www.infopathdev.com:443/forums/thread/107859.aspx</link><pubDate>Fri, 02 Sep 2016 16:23:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107859</guid><dc:creator>David Alvarado</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107859.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=107859</wfw:commentRss><description>Hello Everyone,
&lt;br /&gt;&lt;br /&gt;
I have a form that I updated from InfoPath 2007 to 2013. After the update, a concat formula is no longer working.  I have verified that there are no errors in the formula, it is simply no longer pulling in data the way it used to.
&lt;br /&gt;&lt;br /&gt;
In the form I have a field (FIELD_1) which references the &lt;b&gt;ID&lt;/b&gt; number of another field which draws it&amp;#39;s values from a secondary connection (FIELD_2). &lt;br /&gt;&lt;br /&gt;

Here&amp;#39;s the breakdown of the problem:
&lt;br /&gt;&lt;br /&gt;
FIELD_2 is a dropdown list control which is connected to a secondary SharePoint list used to provide values for the dropdown list
&lt;br /&gt;&lt;br /&gt;
FIELD_1 is a text field control which concatenates data from FIELD_2 and puts it in a format that can be submitted to a SharePoint list in order to update a Lookup field.  The Lookup field references the same SharePoint list as FIELD_2.
&lt;br /&gt;&lt;br /&gt;
In the 2007 version of the form, the concat formula worked perfectly.  
&lt;br /&gt;&lt;br /&gt;
For example, let&amp;#39;s say the SharePoint list referenced as a secondary connection for FIELD_2 had two rows:
&lt;br /&gt;&lt;br /&gt;
&lt;b&gt;ID     Title&lt;br /&gt;
1      Apples&lt;br /&gt;
2      Oranges&lt;/b&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
FIELD_2 would contain the &lt;b&gt;Title&lt;/b&gt; values in the dropdown list (Apples, Oranges).
&lt;br /&gt;&lt;br /&gt;
Depending on which value was selected, FIELD_1 would grab the &lt;b&gt;ID&lt;/b&gt; number associated with the &lt;b&gt;Title&lt;/b&gt; value and put it in the following format&lt;br /&gt;
&lt;b&gt;ID;#Title &lt;/b&gt;
&lt;br /&gt;&lt;br /&gt;
So if a user selected Oranges from FIELD_2&amp;#39;s dropdown list, FIELD_1 would look like this: &lt;b&gt;2;#Oranges&lt;/b&gt;
&lt;br /&gt;&lt;br /&gt;
The problem I am having in the 2013 version of the form template is that the &lt;b&gt;ID&lt;/b&gt; value is no longer populating.  
&lt;br /&gt;&lt;br /&gt;
Instead of getting &lt;b&gt;2;#Oranges&lt;/b&gt;, I am only getting &lt;b&gt;;#Oranges&lt;/b&gt;.
&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
The concat formula for FIELD_1 looks like this:
&lt;br /&gt;&lt;br /&gt;
&lt;b&gt;concat(ID[Title = FIELD_2], &amp;quot;;#&amp;quot;, FIELD_2)&lt;/b&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
Again, this formula worked without any issues in the 2007 version of the InfoPath form template, but is not working in the 2013.
&lt;br /&gt;&lt;br /&gt;
Any help is greatly appreciated.</description></item></channel></rss>