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
14
votes
6answers
10k 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 ...
13
votes
5answers
21k 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" /> </...
13
votes
3answers
8k 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 ...
1
vote
2answers
5k 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 ...
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('/...
4
votes
1answer
3k 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(), ...
2
votes
2answers
946 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 ...
0
votes
2answers
1k 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
668 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
836 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
0answers
409 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
4k 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
4k 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 ...
2
votes
2answers
7k 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
0answers
580 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
462 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
3answers
1k 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
1answer
110 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
1answer
2k 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 ...
1
vote
0answers
558 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 ...
0
votes
0answers
17 views

Setting default values through the createRecordEvent

We have a lightning component which fires a createRecordEvent that is called from Quick Action through the the Flow. I tried to set the default field values which auto populates some fields on the ...
0
votes
1answer
727 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 ...
0
votes
2answers
4k 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 ...