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
vagishvagish 

Custom button on Opportunity Detail page

Hi,

I have a custom button on opportunity details page. It's behavior is "Display In New Window" anc content source is "URL".
It works fine in Salesforce classinc UI, when user clicks on the button, it opens a new window.

However, when I use this button in Salesforce Lightning, it doesn't open new window or tab, it just renders the whole content in the same tab. So is there anyway we can open new tab/window in Lightning for same custom button as it happens in classic?

Thanks,
Vagish