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
Hareesh KommineniHareesh Kommineni 

On click action for lightning component button

I have created a button using the lightning aura component, if I click on that button it should be open another tab. 

Please help me with the same.
PriyaPriya (Salesforce Developers) 

Hi Hareesh,

Refer this for your answer and modify it as per your requirement :- 

https://salesforce.stackexchange.com/questions/144905/making-a-command-button-open-in-new-tab

https://developer.salesforce.com/forums/?id=9060G000000XdBTQA0

 

Please mark it as best answer if it helps you.

Regards,

Priya Ranjan