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
Prem ChauhanPrem Chauhan 

How to export the records as pdf and excel by clicking the Custom onclick javascript list Button?

Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Prem Chauhan,

May I suggest you please refer the below link for reference. Hope it will be helpful.

Please mark it as best answer if the information is informative.

Best Regards
Rahul Kumar