Posted: 8 Dec 2015 3:48 EST Last activity: 14 Dec 2015 3:42 EST
How to add a row (row item action) to a list dynamically based on a value
I have a requirement whereby I'd need to have rows (row items in a list) dynamically created as many based on a parameter value (integer).
Assuming, I have a drop down property called "counter" with values ranging from 1 to 10. If I select '5' as a value from the drop down and move forward to the next page (submit/next button), I would want to have those many rows created in the next page.
This is how sample page list looks. I want rows dynamically created as many as I pass as a parameter value (5 value must create 5 rows).
Appreciate if someone help me in achieving this requirement.
Hope am reading your question correctly - you looking for a way to determine and preload x number of rows based on a property value ?
As always there are many ways to do it. One of them could be - use a datatransform to initialize the page list based on the value of that counter property. You can use a loop to add as many empty rows in that page list. Then call that datatransform as a pre-load in your flow action. In your section, have a repeat-grid off that pagelist