You need to sign in to do that
Don't have an account?
ravindra
What are all the file formats that I can read and write though Apex/Visualforce?
Hi,
I just want to know what are the file format's I can read and write through my Apex/Visual force code.
Thanks in Advance
ravi
All Answers
You cannot read/write files via Apex. It operates wholly on the Salesforce platform with no access to a file system. However, you import CSV files into an object (either manually through the UI, or via Data Loader) and then use Apex code to process the data in those objects.
Visualforce is capable of outputting a page as a PDF file.
You can also use the Salesforce API to 'push' data into Salesforce, and Apex can call external web services to 'pull' data into Salesforce.
Thanks for the reply.
Is it that if i store an excel file as a static resource inside salesforce platform can i read the file through my Apex code?