I can provide you the direction, create a visualforce page with content type xls. That page will extract the data from your database using SOQL and when that page is hit it will export all records as XLS.
Please make sure the objects whoes data you want to export must have read rights. Also at a time you can extract 50000 records in xls.
I think you have missed this :
Thanks
Ankit Arora
Blog | Facebook | Blog Page
All Answers
Can you please explain what kind of data you to export from suctomer portal. Is it of objects to xls or xls to object?
Thanks
Ankit Arora
Blog | Facebook | Blog Page
Hi Ankit
Thaks for the Reply.
I want to export all Custom & Standard Objects data which are in Customer Portal. Can you please tell me how to export that data.
Thanks
Anu....
I can provide you the direction, create a visualforce page with content type xls. That page will extract the data from your database using SOQL and when that page is hit it will export all records as XLS.
Please make sure the objects whoes data you want to export must have read rights. Also at a time you can extract 50000 records in xls.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
Hi Anumca,
According to my knowledge in Customer Portal there is no concept of Data Export.
Thanks.
Hi Ankit
I wrote the page like this.But it is not getting the data in excel format. I am getting output just "Account Name"
<apex:page standardController="Account" contenttype="application/vnd.ms-excel">
<apex:pageBlock >
<apex:pageBlockTable value="{!account}" var="a">
<apex:column value="{!a.Name}"/>
</apex:pageBlockTable>
</apex:pageBlock>
</apex:page>
Plese tell me
Thanks
I think you have missed this :
Thanks
Ankit Arora
Blog | Facebook | Blog Page
Hi Ankit
Thanks for the help. I got it
Thanks
Anu....
Great, so if my post helped you then please mark it as solution so others may get benefit.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
Thanks Ankit,For your clarification.
Your welcome Srikeerthi.
Thanks
Ankit Arora
Blog | Facebook | Blog Page