I have multiple multi-line text box columns in Sharepoint that store information that I want to use for a repeating table.
The repeating table is using a Gallery and the Gallery is connected to this collection I'm building.
It looks like I am able to pass 1 Column to the Gallery using the following method but I'm not sure how to combine the rest of the columns into a single collection.
The multi-line text box store the information using a new line for every item: i.e:
New York
Chicago
Miami
I put this code in the OnVisible Property of the screen
ClearCollect(MyItemsCollection1,
ForAll(Split(Left(Gallery1.Selected.'City',Len(Gallery1.Selected.'City')-1), Char(10)),
With({_line: Split(Result, ";")},
{
CCity: Last(FirstN(_line, 1)).Result
}
)
)
)
and then simply set the Items property of the Gallery to:
MyItemsCollection1
This works great and in the example above, the gallery loads 3 rows with the correct result.
How Would I add another column in this collection so that the next set of repeating text boxes are filled?
(In red is what I'm trying to accomplish).
