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

Custom component and contentType as Excel


I know that you can render a VF page as excel by using the contentType attribute on the Page tag. 


My page has selection criteria at the top and a table of information at the botton. But I don’t want to have to re-create the entire page (or even the table information) , and maintain two pages that are basically the same.  So, I’m wondering if somehow custom Components can be used?


Has anybody done this?  Any examples?