Forum Discussion

bill_sturdivant's avatar
bill_sturdivant
New Contributor III
8 years ago
Solved

Dynamically flatten json to csv from Salesforce?

I need to be able to read any object in Salesforce and write it out as a CSV file. To do this I need to be able to flatten the output dynamically. Sample json: [{ "Account_Class_vod__c" : "ab...
  • aleung's avatar
    8 years ago

    We solve this by using a python script. I shared this under “Showcase” section. You can locate the “flattener” python script under Utilties / Collection of Python Scripts.