You searched for the word(s): 12
-
It took me the longest time to understand this stuff. I still find myself saying "up the tree" as I type ../ when writing XPath. :)
-
That is, by far, the best explanation of how those paths work, I've read. I don't really know why I wasn't wrapping my head around it. Thank you, again, for the solution as well as the lesson!
-
For me, it is easiest to think of "current()" as meaning "this element" (whether a group, a field, an attribute). So, in the case of your specific function - the TempFilter was the item in the repeating group that we needed to use current for. The rule is on CourseSection, so in this case, current() = "this specific ...
-
So... 1) That worked; thank you SOOOO Much! 2) I guess the trick is, with current(), is that it replaces the entire path?
-
I am not sure if this is the best option but here goes.
I am in the process of creating new apps for our old InfoPath forms where needed. In a couple instances these are from an InfoPath forms library but they need to have access to the historical data.
I need the best option for viewing the historical data since we do not ...
-
Maybe try this? count(xdXDocument:GetDOM("BookStoreInventory")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:ISBN[../d:year = xdXDocument:get-DOM()/my:myFields/my:Year and ../d:term = xdXDocument:get-DOM()/my:myFields/my:Term and ../d:EventID = current()/../my:TempFilter])
-
-
What field is the rule on?
-
Oh, so it uploads ok, just gives the error when you open it. Yeah, I would set up a test form, add the same data connection, admin approve it and see what happens when you open it.
-
Hi Hilary
Yes Admin approved form, uploading to central admin - if I click continue after the error - the form itself loads and has the latest version number in it - but none of the data from the attached tables is there - obviously.
Catharine