You searched for the word(s): 12
-
Those namespace prefixes get tricky, because InfoPath doesn't show them to you in the formula editor, so when you start working on stuff by hand, it is easy to forget them. :)
-
That Works!!!!! thanks you are awesome.. i cant believe that d before company was the cause of my problems. Again appreciate your time, patience and expertise.
-
xdXDocument:GetDOM("WriteOffQueryData")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[count(current()/../preceding-sibling::my:group4) + 1]/d:COMPANY
-
Yes Company exist in the sharepoint list items
Hes is the list of fields in the sharepoint list
COBA
COMPANY (xpath /dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:COMPANY)
CUST
INVNO
INVDATE
AMT
COMMENT
WOTYPE
ID
here is the list of fields for group4
COPY (attribute field)
COMPANY (xpath ...
-
You have repeating data in your main data source - and you want to submit it, right? So you have to set the CAML fields to the values from the main data source. And if you aren't using code, you need to do that for every instance of the repeating group - set the CAML fields, submit the data, repeat. :) A helper field in your repeating data ...
-
Is COMPANY also a field in your SharePoint List items? What's the namespace prefix on it? Can you right click the field in the task pane and copy the XPath?
-
Yes COMPANY is a field in group4. I made the recommended change but now im getting an error of "xdXDocument:GetDOM("WriteOffQueryData")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/COMPANY" does not point to a valid location path of a field or group
-
Hi Hillary,
I would like to understand the rule on the "Submit to List" button.
What is the purpose of "@set = count(preceding-sibling::Children) + 1" and what is it doing?
Thanks!
-
This is on a field in group4? Be sure you add the my namespace in your formula - current()/../preceding-sibling::my:group4
-
Hilary
I managed to get the button to work. It copies the data to the repeating table destination however it duplicates and concatenates all the data for each of the rows I have set. I played around with it and understand that I has to do with the syntax I am using in for the xpath formula.
So ...