You need to sign in to do that
Don't have an account?
Doondi
"export to excel" button on custom list view page
Hi,
I Have custom visualforce page for List views (example : ALL views, Major views etc...)
Now I want to button to export for Major views.
[if user select all views and click on export button, then I need all records to download,
If user select Major views and click on export button then I need Major views records]
Any tips and liks on how I can achieve this ?
I Have custom visualforce page for List views (example : ALL views, Major views etc...)
Now I want to button to export for Major views.
[if user select all views and click on export button, then I need all records to download,
If user select Major views and click on export button then I need Major views records]
Any tips and liks on how I can achieve this ?
Onclick export button - redirect to other vf page which prints the existing vf page :
Example:
Call a method 'export' onclick the button which redirects to other vf page:
In the second vf page you can simply add the below code to print the content of first vf page:
All Answers
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_listview.htm
Onclick export button - redirect to other vf page which prints the existing vf page :
Example:
Call a method 'export' onclick the button which redirects to other vf page:
In the second vf page you can simply add the below code to print the content of first vf page: