Skip to main content

Questions tagged [quickaction]

With quick actions, you can make your users’ navigation and workflow as smooth as possible by giving them convenient access to information that’s most important. For example, you can let users create or update records and log calls directly in their Chatter feed or from their mobile device.

Filter by
Sorted by
Tagged with
18 votes
7 answers
17k views

Lightning QuickAction (API) without modal

I am attempting to replace JS buttons with quick actions. These button simply call a web service method and alert the result and need no user interaction. With quick action a modal always seems to ...
Eric's user avatar
  • 54.2k
11 votes
4 answers
16k views

is recordId passed to lwc in a quick action?

I made a lwc to use as a quick action, but despite declaring an @api recordId property, when logging it in connectedCallback, I get undefined. This is the configuration: <targets> <target&...
joacoiudica's user avatar
2 votes
1 answer
3k views

LWC Quick Action on Case

I am trying to create a button on Case to set the Status to Closed Case, however the button is not appearing on the Case Page Layout and I am not sure why. I dont see that when creating a Lighting Web ...
CodeMonger's user avatar
18 votes
5 answers
41k views

Add button to the footer of a Lightning Quick Action component

Can you add an additional footer button next to Cancel for a Lightning Quick Action? <aura:component implements="force:lightningQuickAction"> <ui:button label="Save Button" /> </...
GrayB's user avatar
  • 702
14 votes
4 answers
14k views

Actions on Case object in Lightning

I have created a lightning component and assigned it to a custom case action. How to add this action to header near standard buttons. I have added the action in Salesforce1 and Lightning Experience ...
Venky's user avatar
  • 634
18 votes
12 answers
46k views

recordId is undefined in LWC quick action component

I have created an LWC component for quick action and also defined the @api recordId inside that. But the recordId is undefined in the component when logged. Seems like it is not being passed to the ...
Ad A's user avatar
  • 309
9 votes
2 answers
38k views

Why does my Quick Action not show up in Lightning Experience?

I have created a action to create a record on Opportunity object and added it to the page Layout as well but i am unable to see the quick action on the opportunity detail records Can someone please ...
SFDCSai's user avatar
  • 167
4 votes
1 answer
3k views

How to convert mass actions on list view records from Classic to Lightning Experience?

We have multiple JavaScript buttons that follow this pattern where the set of checked records in a list view are first checked and then a server side operation is applied to them: {!REQUIRESCRIPT('/...
Keith C's user avatar
  • 136k
1 vote
2 answers
8k views

Lightning Component as a button

I have created a lightning component that opens as a popup which requires some input from the user using based on which he is redirected to an external link. All of this functionality works correctly ...
Randomizer's user avatar
14 votes
3 answers
1k views

Lightning Development in SF1 – How to prevent caching?

I'm working on the development of some Lightning Component Quick Actions and I need to test some responsive behavior on Salesforce1. I'm running into a lot of caching issues and am having to reset ...
SFDC Neuf's user avatar
  • 1,517
9 votes
2 answers
31k views

How to auto close LWC quick action from JavaScript?

I have created a Lightning web component quick action for account object in the Summer 2021 sandbox org. This is the screen action and working fine, but I am not able to close the action using ...
Rahul Gawale's user avatar
  • 12.2k
6 votes
2 answers
18k views

How to pass parameter to flow launched from Quick Action

I have created a quick action in account and launched a flow. I need to get account id in that flow. Is there anyway to achieve this? Currently I implemented with a custom url button and passed ...
Reshma's user avatar
  • 4,039
6 votes
2 answers
1k views

Looking for Lightning Alternative for Javascript Detail Page Toggle Button

In classic we could use a custom button with some JS to create a simple toggle functionality. Cf. Javascript Detail Page Toggle Button What would be a valid lightning experience alternative (...
Christian Szandor Knapp's user avatar
6 votes
0 answers
715 views

Can we detect context inside a Lightning Component which has implemented 'force:lightningQuickAction' interface?

While working on a Lightning Component that can be invoked inside a Lightning Record Home Page as well as Quick Actions. But I need to present different User interface in both context of the component....
VarunC's user avatar
  • 5,960
6 votes
1 answer
8k views

How to close Visualforce page opened as Quick Action in Lightning through JavaScript?

One of SObject Lightning pages contains an Action Button which opens a custom Visualforce page. How can I close it in other way than clicking the 'X' button? So far I've tried: window.close(), ...
Przemysław Długoszewski-Tamoń's user avatar
5 votes
1 answer
14k views

LWC quick action not working

I am trying the new summer 21 feature: LWC from quick action. I am trying this on my developer edition, already updated to summer 21 version. But with a very simple code, the modal is not opening and ...
Raphael D's user avatar
  • 616
4 votes
3 answers
6k views

How to call a WebService method from a Lightning Component that replaces a Classic JavaScript button?

We have JavaScript buttons that follow this pattern: {!REQUIRESCRIPT('/soap/ajax/39.0/connection.js')} {!REQUIRESCRIPT('/soap/ajax/39.0/apex.js')} var ok = confirm('Create the Interest Adjustment?');...
Keith C's user avatar
  • 136k
3 votes
1 answer
6k views

Can I invoke a quick action from a custom lightning component? [closed]

I have a simple lightning component that I use as a quick action. I want to create another lightning component as a new custom quick action. Can I invoke the new quick action from the old one? The ...
Said Al Attrach's user avatar
2 votes
0 answers
1k views

How to close dialog box in lightning experience using javascript?

One of SObject Lightning pages contains an Action Button which opens a custom Visualforce page. I used javascript to open and close the dialog box. It works fine in classic but in lightning it won't ...
user46402's user avatar
2 votes
1 answer
5k views

Lightning Component as Quick Action not showing beside the buttons

I created a lightning component and a quick action that points to that component. Now I dragged that button in the Salesforce Mobile and Lightning Experience Actions section and it does not show up at ...
krisstannum's user avatar
2 votes
1 answer
3k views

How to get a spinner on Quick Action LWC?

With Summer '21, we have the ability to create a Quick Action from a LWC. The Quick Action doesn't use any of the HTML I can write in this component : This may sound familiar if you recall writing ...
Yaac0's user avatar
  • 165
2 votes
4 answers
4k views

How to redirect to standard lead convert page in lightning

Currently, I'm working on lightning migration. So, I'm converting the javascript buttons to related quick actions & quick actions with the vf page respectively. I'm facing issues with the ...
Pavan tej's user avatar
  • 1,460
2 votes
1 answer
4k views

Full Screen Quick Action - Lightning Component

I have a lightning component that I open from Quick Action. I added some CSS to open the modal on full screen and this working. What I want to do is to stick the custom footer to the bottom of the ...
Raphael D's user avatar
  • 616
2 votes
3 answers
8k views

Quick Action on related list

In lightning you are not able to do URL hacking. In order to do any prepopulation of fields, it is suggested to use a quick action. If we have a related list object and we are trying to prepopulate ...
Ktruong's user avatar
  • 119
2 votes
1 answer
533 views

How to access "Submit" button via Publisher SDK with Lightning Component in Visualforce using Lightning Out

I'm trying to follow this Trailhead lesson: https://developer.salesforce.com/trailhead/en/visualforce_mobile_salesforce1/visualforce_mobile_salesforce1_actions_global In this, we can use a ...
VarunC's user avatar
  • 5,960
2 votes
1 answer
5k views

LWC as Quick Action on Case Object is not showing

I have created Action as LWC and my xml tragets are <LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata"> <apiVersion>55.0</apiVersion> <...
Rit's user avatar
  • 23
2 votes
1 answer
975 views

Refresh related list after creating a record via LWC quick action

I built a screen action LWC that uses lightning-record-edit-form and lightning-input-field to create a new record. The quick action is placed on a parent record page and adds a related child record to ...
Hiroki Yuda's user avatar
2 votes
2 answers
2k views

QuickActionDefaultsHandler not working in Lightning?

I can't seem to get the QuickActionDefaultsHandler to work at all in Lightning. Is there anybody that has got it working? Specifically, I'm using the Service Console. Just to be clear: the "Enable ...
Willem Mulder's user avatar
1 vote
3 answers
4k views

Pre defined From Address field in Standard Email Action is not working

global class EmailPublisherLoader implements QuickAction.QuickActionDefaultsHandler { // Empty constructor global EmailPublisherLoader(){} // The main interface method global void ...
Saravana's user avatar
1 vote
0 answers
821 views

Capturing user's current location from a Quick action standard layout [closed]

I have a created quick action on a custom object (Address). Below are the details: Object Name: Address Action Type: Create a record Target Object:Task The quick action has his layout set for ...
Aryansh04's user avatar
  • 280
1 vote
1 answer
1k views

Toast is not firing from the lightning component

I am trying to show the toast on the screen after the field is updated using the lightning component the Controller looks like below Controller ({ recordLoaded: function(component, event, helper)...
user81642's user avatar
  • 687
1 vote
1 answer
1k views

LWC not retrieving wired record data

I have a simple LWC component that isn't able to perform getRecord. As in the situation in this question, I need it to be invoked in a quick action, so it's wrapped in an aura component (if that ...
Randy Trigg's user avatar
1 vote
3 answers
3k views

Lightning quick action - find from which object it is called

Scenario: A Lightning component that is being used as: -a quick action override of the "New" button of CustomObject1 and -as a quick action override of the "New" button of CustomObject1 in the ...
owsata's user avatar
  • 194
1 vote
5 answers
15k views

LWC Quick Action - recordId propertyindefined in ConnectedCallback context

I am trying to create lwc quick action, which was introduced with the Summer 21 release. I want to use the recordId property from the object that I am on, but the property is 'undefined' in the ...
O. Schejbal's user avatar
0 votes
3 answers
4k views

Lightning Web Component LWC Quick Action button Lead Ownership

Hope to get some help resolving my issue. I have a quick action button linked to a lightning component (aura). The button needs to change the lead owner to the user. Basically there is no need for the ...
Golnaz H's user avatar
0 votes
1 answer
180 views

ScreenFlow when launched from QuickAction, is finished. And when we hit the browser back button the flow is relaunched/Re-executing the flow

The Screen flow is launched from quick actions on the contact record page. The flow is re-executing/ launched every time when the browser back button is clicked or trying to go back. So the conditions/...
Janardhan Kumar's user avatar
0 votes
2 answers
3k views

Quick Action using Visualforce - modal dialog width

When you use Visualforce page as Quick Action and modal popup window opens - it occupies 50% of container width. According to Create Object-Specific Quick Actions article For a Custom Visualforce ...
Victor's user avatar
  • 413
0 votes
1 answer
2k views

How to add a Flow button to a Lightning Highlights Panel?

We have created a flow and a Flow action button. We'd like to add the button to the Lightning Highlights Panel on a case detail page. However, despite adding the button to the page layout in the ...
Swisher Sweet's user avatar