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
17
votes
6answers
13k 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 ...
2
votes
2answers
2k 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&...
15
votes
5answers
32k 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" /> </...
6
votes
2answers
3k 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 ...
13
votes
4answers
12k 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 ...
2
votes
1answer
450 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 ...
4
votes
1answer
2k 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('/...
1
vote
2answers
7k 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 ...
5
votes
1answer
5k 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(), ...
7
votes
9answers
5k 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 ...
2
votes
4answers
2k 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 ...
2
votes
2answers
1k 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 ...
1
vote
1answer
535 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 ...
0
votes
2answers
2k 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 ...
14
votes
3answers
922 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 ...
6
votes
2answers
952 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 (...
5
votes
1answer
4k views

Not able to create a quick action using direct LWC in Summer 21 org

I have a requirement where I want to create an action using LWC component. But I am facing the below issue while creating the quick action As per the Salesforce release documentation, I have copied ...
5
votes
0answers
471 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....
4
votes
3answers
5k 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?');...
3
votes
1answer
5k 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 ...
3
votes
2answers
13k 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 ...
2
votes
1answer
4k 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 ...
2
votes
0answers
920 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 ...
2
votes
1answer
512 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 ...
1
vote
1answer
459 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 ...
1
vote
1answer
626 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)...
1
vote
2answers
2k views

Source of "Update Case" Quick Action in Lightning Experience

I am struggling to understand what a particular Action (or is it an Action?) is. It appears next to the Post, Poll, Ask a Question for Case object in the Lightning Experience and its label is Update ...
1
vote
0answers
680 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 ...
1
vote
3answers
2k 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 ...
1
vote
2answers
5k 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 ...
1
vote
3answers
2k 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 ...
0
votes
3answers
2k 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 ...
0
votes
1answer
1k 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 ...