+ Start a Discussion

Export data in salesforce

Hi iam getting the data form the external system, need to Export the data as the Textfile and Excel file onclicking of the Command button.
For Example:
suppose i have two comandbutton, of save as text file, and other save as excelfile, files should be save depending upon respective button.

ANy Solutions and usefull links or related blogs  are very much appreciated. 
Danish HodaDanish Hoda
Hi Deepika,
You can create two Vf pages for different buttons with extensions where you can check in their contructor if the file extension is .xsl or .txt.