Hey,
I need to export data stored in a local record list into a csv-file. I don't need all attributes, so I want to select them like in the "Record List to Excel" function.
Do you know any forge component or something I can try?I already used CSVUtil for ODC, but I just got some errors i couldn't fix and also couldn't select the attributes I need.Thank you!
To select the attributes you need, simply create a structure with a field of the same type for each attribute you want, then create a local List variable of that structure. You can then assign your record list to the local variable and map the attributes.
It looks to me like you have to serialize the list of structure you created to Json, then call JsonToCsv from CSVUtils to create the CSV file.