Hi, sorry about asking but seems I'm having a few issues with repeating table data and new rows.
Row 1 - I have a dropdown list box in column 1 of the table. (Populates from 2nd data connection from a SharePoint list library and people picker pulling out the Display Name) - after update or on change, I then run a rule that take the Display Name and updates a txtbox with the same people picker info but now adds the accountID so I can remove some of the company data from the email address.
Eg, Lets say Display Name looks like this: wirelad(WARR) and the accountID looks like this: gmail\wirelad - The txtbox now contains wirelad - This is what Im after. Perfect!
substring-after(AccountId[DisplayName = cmbg1stApprovalEmail], "\")
All this might not even be relevant?
The problem I have if someone clicks new row - the txtbox remains and keeps the words "wirelad" in and my opinion, should be blank. Also, If I select a new person different from the one in the first row, again using the dropdown listbox. The listtext box is updated with the first persons name.
Looking back at some blogs - seems the use of "Current" sorts out repeating table rows?? I also have the same issue with a repeating section.
How do you use current?
Please, Hope you can help - ?
Thanks
Mike
PS this is what the XPath looks like: Where and how do you insert "current"?
substring-after(xdXDocument:GetDOM("Email Supply List")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:People_x0020_Picker/pc:Person/pc:AccountId[../pc:DisplayName = xdXDocument:get-DOM()/my:myFields/my:gScopeWork_a/my:gScopeAttachments/my:gAttachments_a/my:cmbg1stApprovalEmail], "\")