-
I've not run into the issue myself - I'm assuming you don't want to use the solution posted in the thread you linked?
-
Sorry I missed your other post - glad you found a work around. It could be that indexing on that field doesn't index the display name? Because I think the field we query on must be indexed once over the list threshold.
-
Right. This in the XPath: xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW gets replaced by current()/.. which basically means "From this current node, go up the tree to the the repeating my:SharePointListItem_RW group, and find the my:Items node in that same group as I am in".
-
Feel free to attach a copy of your form under the Options tab in a reply so I can assist you.
-
I'm not sure what you mean by "form owner" - is this just a column in your library?
-
Sorry - I just don't understand your question, or why you are not able to apply the same logic to your form. Feel free to attach a copy of your form and I can try to help you with it.
-
It is in the form template. Under the Data tab in the ribbon, you will find a Resources button. Click that and you'll see the XML.
-
Here's a sample form with one idea. Save the form locally, right click and select design, then you can preview.
-
The reason you are getting only the first one is because the XPath is using absolute paths instead of relative paths. If the field is in the my:SharePointListItem_RW group, I'd try something like this: sum(xdXDocument:GetDOM("COO Store")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Quantity2[current()/../my:Items = ...
-
Could I see a copy of your form? You can attach it under the Options tab in a reply.