Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [lightning-quickaction]

The tag has no usage guidance.

0
votes
0answers
9 views

Is there a way to add a hook when the user clicks the close(X) button on a custom lightning quick action?

I'm trying to see if there's a way to invoke any custom logic when the lightning quick action modal is closed by clicking the X button. Is that a browser action for dismissing the dialog or does it ...
0
votes
0answers
25 views

Lightning Quick Action default value disappear

I build a lightning quick action component to new a record,and carry a few fields value in the quick Action button record page.After checked and make sure I get the value from the background....
1
vote
0answers
40 views

Quick Action Lightning Component Throws Error due to Opportunity__c lookup field for Platform User

I created a custom quick action lightning component. This component contains a form with a lookup field to an Opportunity (see simplified code below). <aura:attribute name="config" type="...
0
votes
0answers
14 views

Cannot set <force:inputField> validation error on field in custom quick action lightning component

I have designed a quick action lightning component to clone one of our [complex] custom objects. The requirements are: Add a lookup field where the user would be able to choose another parent ...
0
votes
0answers
15 views

Global Action - Maximise by default

Is there a way to have a global action maximised by default upon launch? We have a flow started by a global action (via aura component) but cannot seem to find anyway to make it start in a maximized/...
0
votes
1answer
15 views

Quick Action for Activity: custom field for account lookup

I have created a custom quick action for the activity in Account. All lightning experience. The custom quick action is like a new task. I need to add a field to show which account this is coming ...
4
votes
1answer
51 views

Salesforce Inbox and the action menu

I'm seeing that when logging into Salesforce through Salesforce Inbox in Outlook on the desktop, and the order of the Quick Create action menus are not the same. Inbox seems to show me some default ...
0
votes
0answers
41 views

Lightning Component quickaction onclose event

Is there a way to get the close event of a lightning component that is used as a quick action? I have a component with force:LightningQuickActionWithoutHeader and I use $A.get("e.force:...
0
votes
0answers
21 views

Dynamic redirection to Kanban listview

I'm trying to add on Account page layout, a quick action that will redirect to the Kanban listview showing related Opporutnities records to this Account only. Right now I'm trying to achieve this by ...
1
vote
1answer
204 views

Quick action redirect to force:createrecord lightning component

Need to initiate force:create record from lightning quick action: 1. Output is not as expected two modals are showing up. I need only new contact modal. How to achieve this? Please help.. Thanks 2. ...
0
votes
2answers
149 views

callback action from e.force:editRecord

I'm migrating some functionality from classic to lightning and need to replace javascript button which will redirect to standard edit page. I'm using Quick Action for that calling component which ...
0
votes
1answer
41 views

How to add Lightning Quick Actions on Account List View?

I have a Quick Action on Account with a Lightning Component that creates a new opportunity. But I am unable to add the Lightning Quick Action to Account List View. Is there anything to be added ...
1
vote
0answers
140 views

Invoke Object Quick Action from Enhanced Lightning Grid

I am using a Salesforce Labs package: Enhanced Lightning Grid, within the functionality is the ability to invoke standard lightning actions, for example: e.force:createRecord However, I would like ...
1
vote
1answer
475 views

Lightning Data Service - Update Field on Button Click

I am new to lightning components and am trying to get a button in lightning to update a checkbox on a contact record(Send_to_IFS__c) when the button is clicked. Below is what i have but it is not ...
0
votes
2answers
64 views

action.callback function is not getting executed

I have a lightning component which is calling server-side apex code. Thes server-side code gets executed properly but setCallBack() function is not getting executed. <aura:component implements="...
1
vote
1answer
33 views

Search layout quick action with lightning component issue

I'm trying to create a quick action inside a search layout. This quick action calls a custom component. The point is that when I click the new action Allows me to create a that kind of quick action ...
2
votes
1answer
28 views

Can't add event/task quick action to managed package

We would like to include in our managed package an event quick action that maps to a lightning component. However, from the package > add components page such action doesn't not appear. We have ...
0
votes
1answer
85 views

Change Owner from List View for Work Orders

We are in the Winter 19, I want to be able to 'Change Owner' of Work Orders from a list view. Logged in User has all permissions. However, I am not able to add the Quick Action to this Search ...
1
vote
1answer
1k views

Call a quick action from a lightning component

I created a quick action and would like to fire it from a lightning component, e.g. from a click event of a button. This article creates the quick action dynamically, but I would like to reference an ...
0
votes
1answer
47 views

How to Get the QuickAction modal Label in Lightning Component?

Tried with var target = document.getElementsByClassName('modal-header slds-modal__header'); and var label = document.getElementsByTagName('p'); but in both empty array is recieved.
0
votes
1answer
26 views

Can't see predefined values section on object-specific quick action

I've created quick action with Lightning Component content source and I wanted to add predefined values for the action. However, I can't see "Predefined Values" section. Do somebody know why?
0
votes
1answer
95 views

How to put “List View Actions in Lightning Experience” into metadata?

I've defined "List View Actions in Lightning Experience" using Setup -> Object Manager -> (my custom object) -> Search Layouts -> List View -> List View Actions in Lightning Experience, but I can't ...
2
votes
0answers
17 views

Can a Flow “know” the specific Quick Action that called it?

I'm hoping to create one flow and have two different Quick Action call it. Wondering if it's possible for the flow to "know" which Quick Action initiated it so that we can build in some decision ...
4
votes
1answer
224 views

How to display a single quote in success message of Lightning Action?

I'm trying to use a single quote in success message of Account record action. The system add's an escape character in front of it. Escape character is shown in the success message. Any idea how to ...
0
votes
1answer
130 views

Can we perform frontend validation with lightning:inputField? [duplicate]

I'm creating some small lighting components for use with Quick Actions. While "Never trust the client" means I will have backend validation, for a good user experience, I'd prefer to prevent bad data ...
0
votes
1answer
28 views

Current Record is available in doinit method but not in button handler method

I am able to get the current record id of a record in my controller method written for doinit, but I have another method for handling a button click, I could not get the current record id. I am ...
0
votes
0answers
72 views

Lightning Quick Action to be available on certain conditions?

I currently disable the UI and call the apex controller on doInit of the controller.js and if the UI is valid to be used at the time, enable them, otherwise close the quick action window. Is there ...
11
votes
3answers
3k views

Lightning navigation does not refresh the state of components, how to fix a bug

I am using lightning:navigation component in our project, and it doesnt refresh the state of component, when the url changes. To be clear, lightning framework just keeps the state of component/page ...
0
votes
1answer
611 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 ...
3
votes
1answer
3k views

Lightning quick Action in the List view

I want to add a lightning quick action in the list view of opportunity. The quick action should use the Lightning component. How to add the quick action with lightning component in the List View?
0
votes
1answer
142 views

lightning quick action not visible in salesforce classic

i have a lightning quick action in my page layout. But the quick action is not visible in Classic View. however, according to the documentation, it should be visible. https://help.salesforce.com/...
1
vote
1answer
661 views

Creating and Adding quick actions for community Users

How can I create and add the quick actions for Community Users.I am able to create tab and add it on navigation menu. But I want to create a quick action and add it to Details page of Object.
1
vote
1answer
340 views

Inconsistent Scrolling Behaviour in Lightning Quick Actions

I have a lightning component I want to embed in a quick action. The component has content which might vary in size, which means I cannot predict what height my quick action needs. As a simple example,...
1
vote
1answer
363 views

remove lightning buttons from page layout

I have a custom object which is related to contact. i am getting the following detail page for the custom object i am not being able to understand at all where the new Opportunity and new Contact ...
4
votes
1answer
839 views

lightning:recordEditForm “Received unexpected value during emit” error on loading randomly

I have one Lightning component with lightning:recordEditForm. Some times this is throwing an error "Received unexpected value during emit".If i refresh it sometimes it is not showing any error.It is ...
1
vote
0answers
802 views

e.force:refreshView - Record View is not refreshed upon field update but is upon record type change

TL;DR(edited): We have a quick action calling a lightning component that will perform an outbound WS call from APEX, update the current record and then refresh the view. We use the function : ...
4
votes
0answers
257 views

Date picker calendar not showing on top in lightning component

This is my lightning component The problem is my date picker is displaying on the back and I am unable to select the date. I am using this Lightning component in quick action button. The code for my ...
1
vote
2answers
1k 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(), ...
4
votes
0answers
421 views

Overriden Standard “New” Action: How to redirect a Lightning component invoked from a Lookup?

I had to create a custom component that is used to create a new record for sobject Account. To achieve this, I'm following the pattern from Trailhead https://trailhead.salesforce.com/en/projects/...
0
votes
3answers
753 views

Ability to disabled a Quick Action Lightning Button

Tried searching for this but was not able to find a definitive answer. I don't think it's possible as I've been trying, but can I disable a quick action button in lightning experience. I have a ...
3
votes
2answers
1k views

Lightning QuickAction background color change

On Case object, i have a quick Action "Assign Case" which looks as follows markup looks like this <aura:component implements="force:lightningQuickAction,force:hasRecordId" controller="...
1
vote
2answers
556 views

how to check lightning component is opened from quick action dialog box

I have a lightning component were it used at two places once at Quick action button in popup and other in record detail page layout. Know i would need to recognise when the component is opened in ...
1
vote
0answers
131 views

lightning quick action initialize component every time

I have created a lightning quick action "Assign Case", as an alternative to a javascript button. Behind the scene the button and the quick action run assignment rules on case after performing some ...
2
votes
1answer
653 views

Predefined Field Value “From Address” not getting set on Email Case Action

After learning that the QuickActionDefaultsHandler interface doesn't work with Lightning Experience, I tried to implement the suggestion found in the comments of this answer, which is to set the ...
1
vote
1answer
459 views

Display footer outside custom quick action component

<aura:attribute Name="account" type="Account" access="public" /> <aura:attribute Name="accountId" type="String" access="public" default="{!v.recordId}"/> <aura:attribute Name="...
5
votes
0answers
1k views

Not able to open lightning component from quick action otherwise working fine

i get the record id alert after that nothing works doInit : function(component, event, helper) { alert('start'+component.get("v.recordId")); var action1 = component.get("c.getCurrentOpp"); ...
0
votes
1answer
316 views

Accessing Lightning Quick Action Component Footer via JavaScript [closed]

Like others before me, I'd like to add a button to the footer of a Lightning Quick Action Component. Since no one has provided a solution with code yet, I'm still trying to accomplish the same thing. ...
10
votes
4answers
5k views

How to show lightning toast on top of modal (quick action)?

I have created lightning quick action to add my component for some functionality. so from my quick action. When I do some validation like var opp = component.get("v.objOpportunity"); if(!...
2
votes
0answers
355 views

Quick Action pop up window height in Lightning

I use standard Quick Action on an object with only one field on a layout. The field is lookup. When I click on the quick action and start writing something to the lookup field, it shows quick results ...