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
marys pindamarys pinda 

Invalid type: Consignment Search Data _c

I tried exporting data using Apex (http://salesforceapexcodecorner.blogspot.fr/2012/03/export-in-csv-and-excel-in-apex.html).
But I have an error and not think solution for it on the internet.
Someone help me?

Thank you
Best Answer chosen by marys pinda
Sonam_SFDCSonam_SFDC
Looks like ConsignmentSearchData.xls is the name of the file which user is creating for importing data....and Consignment_Search_Data__c is a custom object this user has used as a sample from where is is exported data..do you have the same setup? if not, please customize code according to your setup.. 

All Answers

Sonam_SFDCSonam_SFDC
Looks like ConsignmentSearchData.xls is the name of the file which user is creating for importing data....and Consignment_Search_Data__c is a custom object this user has used as a sample from where is is exported data..do you have the same setup? if not, please customize code according to your setup.. 
This was selected as the best answer
marys pindamarys pinda
Thank you...
I dont have Consignment Search Data _c...

What  I do?