-
But it is not the same. The filter is quite different:
[../@Name = xdXDocument:get-DOM()/my:assetTracking/my:employee/my:BillToName]
vs.
[xdXDocument:GetDOM("ARCustomer")/dfs:myFields/dfs:dataFields/d:ARCustomer/@Name = BillToName]
In the first sample, you are already at the AddressLine1 attribute in your XPath, and then you go back ...
-
Perhaps you could provide more information? What does "mess. data" mean? Is the "icon" just an image file? Is it embedded in the form, or is it from a secondary data source? If it is from a secondary data source, what is the format, is it base64Binary?
-
Do other qRules commands work in your form when you publish to the browser? Put the command node and the result node on your form and set the postback on the command node to "always". From there, when you open it in the browser after admin approving, try typing:
GenerateGuid
into the command field - you should get a result in the ...
-
The issue is going to be with item 1 - InfoPath secondary data connections to SQL don't allow you to pass in a value from the form natively. This leaves you with some options:
Write your own code to do this - you'll need to alter the command of your secondary data connection - here's an MSDN page with a sample.
Write your own ...
-
Navigate to the exe in the Program Files folder:
C:\Program Files (x86)\Qdabra Software\Qdabra Rules Library (Trial Version)\QdabraRulesInjector.exe
and right click the QdabraRulesInjector.exe and select "Run as Administrator". You will only need to do this one time, going forward it should work correctly from the start menu without ...
-
current() is the node that you are currently located at - so, since your expression box is inside a repeating table (bound to a repeating node) - it is the current instance of the node. Here's a link to a blog post that explains it a bit better.
-
Is @fk_review_status in the same repeating table that you are putting the expression box in?
If so, this may work:
xdXDocument:GetDOM("Review Status")/dfs:myFields/dfs:dataFields/d:tbl_review_status[@pk_review_status = current()/@fk_review_status]/@status_text
But it is hard to know without seeing your form. You can attach a copy of ...
-
Where is @fk_review_status located in your main data source? Can you right click on it and select "Copy XPath"? (IP 2007 & 2010)
Where are you placing your expression box on your form? Inside a section? A repeating section or table?
-
Hi - what exactly are you trying to do? I get that you need to count the number of forms for a specific date - but what is the logic for that date? That is - you say "the integer 2 will change every day" - can you help me better understand what you need to do?
-
Yes, "and" not "or" - sorry about that. Glad you got it figured out!