cancel
Showing results for 
Search instead for 
Did you mean: 

Append rows to collection?

supetrmp
Level 3
I tried the Copy Rows action from the Internal - Collections object, but is replaced the entire target collection with the contents of the source. What I need is to add rows on top (or below) of the existing rows of a collection. Is there an object/action for that?
3 REPLIES 3

TomBlackburn1
Level 7
Try using the Append Rows to Collection within the 'Utility - Collection Manipulation' object. Or Loop through the source collection, then use Add Rows action in the 'Internal - Collection' object, then use a multiple calculation stage to store the contents of the original collection into the target collection. This only works if the columns remain static

Christopher
Level 5
Did you ever find a solution to this? I have the exact same problem, i use the ""Append Rows"" in the 'Utility - Collection Manipulation' But it just erases the existing data with every run.

Christopher
Level 5
Nevermind, Toms's Suggestion with looping the collection through a ""Add rows"" action worked perfectly 🙂