function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
DowithforceDowithforce 

create CSV and improve response time using Ajax toolkit?

Hello All,

 

Is it possible to create csv file using Ajax toolkit for records we are getting by sforce.connection.query?

 

I am sending records from S-control  to my working site and I am getting no response for more records is there any way to get response from remote site, I added salesforce client certificarte as well. Please let me know

if anyone know about this issues.

 

 

Thanks in advance.

DevAngelDevAngel
Of course you can create csv, just process your results.  Saving the csv is a different matter since you can't explicitly save a file to the file system from the browser.  Sending the csv to a remote server is as simple as sending any other POST request.
srm10000srm10000

I want to dynamicaly create a csv file from a SOQL query and then add it as attachment to an email and then I want to send the email using apex code. Is this possible?