Skip to main content
6 events
when toggle format what by license comment
May 30, 2020 at 21:25 comment added David Reed Any data loader can parse a CSV file and import records for you. If this is a one-time process, I would recommend using such a tool, not writing Apex code.
May 30, 2020 at 14:04 vote accept S kanth
May 30, 2020 at 10:32 answer added user40322 timeline score: 0
May 30, 2020 at 6:45 comment added S kanth That was my requirement. The csv file will be having few records and using that, we need to insert records into custom business object. I came across vf page with insert button and other scenarios but instead, is there any way to insert csv file stored in static resource using apex class. Or is there any logic to parse csv from anonymous window which can be used only once. Please suggest
May 30, 2020 at 5:44 comment added David Reed This really doesn't make sense. Why are you inserting records from a Static Resource? Why would that process need to be executed more than once? Why is this key business data stored in such an awful format for Apex consumption?
May 30, 2020 at 5:29 history asked S kanth CC BY-SA 4.0