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
Leonard Silon 8Leonard Silon 8 

how do I get a button that runs a report to always open in a new tab?

I have a few buttons that when clicked open up a report. Sometimes they open in a new tab and sometimes they open in a new window. How can I for it to always open in a new tab?

The below picture is an example of one that opens in a new tab. I have another button where everything is exactly the same except the URL and it opens in a new window.  Thoughts?

User-added image
Subbu KalavalaSubbu Kalavala
hi,

In order to run a saved report from detail page .Please follow the steps

1; Create a report that you want invoke in tab from record detail page .If you want  kept any filter on report, after keeping the filter and save

2: create a detail button  on sobject with URL as shown in below

User-added image 

3: you can see the in value as "/savedreportid?pv0={!filtercondationvalue}"


Thank you.