
Announcements
My scenario is as follows.
I have a SP list with a column that is single line text, used to save down Tags/Labels. These are saved separated by semicolons.
In the PowerApp, I now want to read these strings, split them and put them into a collection, then have the user edit said collection. Then save back down as a string separated by semicolons.
I find it relatively simple to write something such as
ClearCollect(colText,Split("Test1;Test2;Test3",";"))
to create my collection and to subsequently work with it. How do I best initialise this collection creation though, so that the user can right away work with the collection?
This is all done within a form, I'm looking to replace the text input presently in place in there.
Hope I've expressed myself clearly enough and look forward to any ideas on how to best to this.
Hi @eltibu ,
Please try this:
ClearCollect(colText,Split("Test1;Test2;Test3",";"));Clear(colText)
The clear function will delete all items in the collection and keep the column.
Best Regards,
Wearsky