Hi,
So I'm looking at ways to prevent Delegation (2000 rows!) in a SP List.
At the moment I have a Notes List with one row per note. To Simply this is to have all the notes for one item (we'll never have 2000 items for sure) in a single SP List field.
I'm just testing how this would work and get a error with my split command "Invalid argument type (table). Expecting a text value instead".
I build my collection (each field is separated by "*|" and each record by "|*". Example 3 rows of 3 columns.
ClearCollect(colText, "Jon Doe*|12/12/2019*| lots of text aa alakajaaoakjajoajoao[a|*
Jane Doe*|01/10/2020*| more text year stuff
line 2 for text2|*Jon Smith*| 01/02/2020*| Text goes here. Automated ! |*")
but my split returns the error.
Any ideas? The separators can be changed but need to be something that is unlikely to be added in the free text field.
ForAll(
Split(colData,"|*"),
Collect(colFinal,
{Name:First(Split(Result,"*|")).Result,
Date:Last(FirstN(Split(Result,"*|"),2)).Result,
Notes:Last(FirstN(Split(Result,"*|"),3)).Result}))