New answers tagged

2

I would recommend just using papaparse. Once imported, you can have the list of objects returned from the wire call and passed directly into Papaparse, which will output a CSV for you. let csv = Papa.unparse(accountData); Since you're already using D3, I presume you're familiar with importing scripts to LWC. All you need is a bit of help, and that library ...


0

Try this code example: w.name = '""'; if (String.isNotBlank(reClassified.CDI_Additional_Info__c) && String.isNotBlank(preClassified.Name)) { w.name = '"' + reClassified.Name.replace('"', '') + '"'; } Explanation: "" will not make your csv any worth if you do not have " in column values. Also use replace ...


Top 50 recent answers are included