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
Erick MahleErick Mahle 

Report's Printable View Button on Record Page (as Detail Page Button)

So I can currently create a Detail Page button for a record that'll generate a Report with a filter where Record.Id = "" (and use the button to populate that filter). However, is there a way to be able to have that same button run the same process as getting a Printable View of that same report?

Essentially right now it's a 2-step process (create/click button for Report, then click Printable View on the report). It would be great to know if I can shorten that process to make it a one-step process directly from the record page itself. Any thoughts?

Hargobind_SinghHargobind_Singh
There is a form that gets submitted when you press the Printable button on a report, you should check out the form and see if you can submit the same form from your custom VF Page..