I'm working on an app that is close but I can't figure this last part out:
1.) getting data from my SP list by ID and extracting a column value:
Set(varMaterials, LookUp(
WriteUps,
ID = 37
).materialCollection);
## the raw data from the SP List item column looks like this: CU|234|2.34;NI|211|12.3; ##
2.) On button press I'm getting this data and adding it to a collection. It's adding it in the proper way except for three of the columns (for which I'm splitting data) is getting added as a table inside of my collection. I just want it to appear as plain text.
Code:
Set(varSplitItems,Split(varMaterials,";"));ForAll(varSplitItems,If(!IsBlank(Value),Collect(materialCollection,{Material:First(Split(ThisRecord.Value,"|")),Price:Last(Split(ThisRecord.Value,"|")),Weight:Index(Split(ThisRecord.Value,"|"),2),semiColonVal:";",showEdit: true })));
Can someone help me identify what I'm doing wrong? Thanks!