Activity Forums Salesforce® Discussions List Button does not work properly in Salesforce Lightning Experience

  • Piyush

    Member
    March 29, 2016 at 1:35 pm

    I have created a custom list button on a custom object and I set the behavior of the list button to "Display in existing window without sidebar or header".

    This List button works fine in Salesforce classic, but when I switch to Salesforce lightning experience it stops workings.

    When I click on the list button in Salesforce lightning it doesn't open in the existing window. It opens in a new tab.

    Any help would be really appreciated.

  • Abhinav

    Member
    March 30, 2016 at 2:35 pm

    You can create the global action using VF page. And on the click of that global action visual force page will open up and it will simply redirect to the URL where you want to redirect. This will open the URL on the same window not in another window.

    Use the following in the script of the VF page :-

    window.open("/one/demoPage","_parent");

    Where demoPage is my VF page.

    I hope this help.

    • This reply was modified 5 years, 10 months ago by  Abhinav.
  • Raghavendra

    Member
    November 22, 2016 at 7:35 pm

    Abhinav, Can you explain more on this ?. I need to open up visualforce flow in new window.  how to do that

Viewing 1 - 3 of 3 posts

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos