+ Start a Discussion
prakash_sfdcprakash_sfdc 

Custom object Data export to CSV using Apex

Hi,

 

I have a large amount of data in a custom object - ( around 1lakh records).

 

I want a scheduler class which can export the data in a csv and attach to chatter files daily. I have tried many things but it is hitting one or the other limit. String limit, Collection limit, Code Statements limit.

 

Is it possible? Is there any API for this purpose?

 

Thanks!

Samba GSamba G

Can you try to use batch?

 

 

Thanks,

Samba

prakash_sfdcprakash_sfdc
Thanks Samba. I will have a look.