Hi all,
On a Canvas App I'm trying to create multiple records on a Sharepoint List. On the screen I have a gallery pointing to one list with multiple records. For every item in that gallery I want to add the ID to another list, along with a variable (already known). I've attached a picture essentially explaining it. I've looked at creating a collection with a ForAll function embedded, but can't seem to get the syntax to work. Has anyone got a simple solution to this please?
Many thanks.
Paul
Solved! Go to Solution.
ForAll should be the way to go. I'm not sure what syntax you had, and I'm not sure I completely understand what you are trying to end up with, but something like this should work:
ForAll(Table2, Patch(CombinedTable, { Table1_ID : Table1.ID, Table2_ID : Table2.ID }))
ForAll should be the way to go. I'm not sure what syntax you had, and I'm not sure I completely understand what you are trying to end up with, but something like this should work:
ForAll(Table2, Patch(CombinedTable, { Table1_ID : Table1.ID, Table2_ID : Table2.ID }))
Excellent. Many thanks.
Needed a little tweak, but works now.
Regards
paul
User | Count |
---|---|
184 | |
124 | |
89 | |
45 | |
43 |
User | Count |
---|---|
261 | |
160 | |
128 | |
81 | |
73 |