Hi Hilary,
Good day, its me again. I had try to check the location for the installed form and I was able to see one for the copy table but it is for copying tables for the same data source.
From my previous example, I was able to make the Insert and setting of a fields value work from a data connection from a SharePoint List.
I'm doing the same approach but this time a REST connection to a SharePoint list but it is only copying the first item on the filtered REST connection
Below are the syntax use:
For the copy button:
1. Delete /xpath=/my:myFields/my:Approval/my:ApprovalItems
2. concat("Insert /parent=/my:myFields/my:Approval /child=my:ApprovalItems /count=", TotalItemsForApproval)
where TotalItemsForApproval is the number of items in the filtered REST Connection
On the repeating table:
1. properties[count(current()/preceding-sibling::ApprovalItems) + 1]/Id or xdXDocument:GetDOM("Rest1")/ns2:feed/ns2:entry/ns2:content/m:properties[count(current()/preceding-sibling::my:ApprovalItems) + 1]/ns1:Id
2. ProjectNumber[Id = current()/ID] or xdXDocument:GetDOM("Rest1")/ns2:feed/ns2:entry/ns2:content/m:properties/ns1:ProjectNumber[../ns1:Id = current()/my:ID]
Regards,
Rommel