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
Lukasz PiziakLukasz Piziak 

Custom button - Open report on new tab

Hi, 
I have made a custom report and custom button on custom object, when click on the button system is opening report page on the new window.
I had given the following functionality on the button:
Display Type: Detail Page Button
Behaviour: Display in new window
Content Source: URL

my link https://eu2.salesforce.com/00Ob0000004Z1nF?pv0={!SCMC__Item__c.Name}

Is there a way of configuring the button to display the report in the new tab window rather than new window?

Thanks for any help.
I have tried to follow the solution provided https://developer.salesforce.com/forums/?id=906F0000000AfExIAK but getting some errors.