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
Ram Shiva KumarRam Shiva Kumar 

Issue with Lightening new action ---- (heads-up)

Hi,

I  have created a new action (button in classic ) in lighteing expereince. And to that  new action i have  added my aura component. Now when i click on the new action iam getting a modal box in which iam  able to see my aura component.

But i want to  display my aura component in seperate tab or window when i click on the new action . 

please sugget  me how to open my aura component in seperate tab or window when i click on the new action  


Regards,
Shiva Ram.
NagendraNagendra (Salesforce Developers) 
Hi Ram,

Create one lightning component which implements 
implements="force:lightningQuickAction" and use that component in lightning global actions.

Lightning_Global_Action.cmp
<aura:component implements="force:lightningQuickAction" >
	<ui:button label="Open in New window" press="{!c.openActionWindow}"/>
</aura:component>
Lightning_Global_Action.js
({ openActionWindow : function(component, event, helper) { window.open("https://www.w3schools.com"); } })​
Please let us know if this helps.

Thanks,
Nagendra