Questions tagged [lightning-quickaction]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

Submit for Approval Button in lightning community

I have submit for Approval button in Lightning community which is a quick action button calling a VF page. QuickAction: The VF code: <apex:page showHeader="false" sidebar="false" ...
2
votes
0answers
18 views

Quick action record edit form behaves differently based on page layout

I have a lightning record edit form launched through a quick action that uses the page's recordId to grab fields. On this edit form there is a lookup field. If I don't include this field on the page ...
0
votes
2answers
36 views

Grant access to Quick Action in Lightning to some users only

I have created a Quick Action button, that basically calls a webservice and displays the data in a popup window. Right now, I only want certain users to have access to the Quick Action button. I ...
1
vote
2answers
214 views

Is “e.force:closeQuickAction” no longer supported in Salesforce?

I have witnessed a strange issue today, when I observed that my Salesforce instance has been recently upgraded. All my lightning components which were using "e.force:closeQuickAction" to close the ...
0
votes
0answers
47 views

LWC with aura wrapper for force:lightningQuickAction need to click update button twice

In lighting, I am trying to update values on a record and on save change the record type of the record and refresh the page. I wrote an lwc with the required fields and set a checkbox that kicks off a ...
0
votes
0answers
21 views

Is it possible to perform actions when the user click on 'X" icon to close a lightning action?

My requirement may sound a bit strange, since I have been asked to perform actions on the component, when the user actually closes a lightning component. Initially my thought process was to force the ...
0
votes
1answer
68 views

QuickActionApi - Unable to select SendEmail on custom object page

I am trying to initiate the SendEmail quick action from a button on my lightning record page. This seems to work for Account, but does not work for custom objects. Code is as follows Component <...
0
votes
1answer
136 views

PageReference in AuraEnabled class is not working for Lightning Quick Action

I have a Quick Action using Lightning Component on Opportunity. Based on some scenario when a service return Case ID then through Page Reference I would like to return to Case Record Page. Code : ...
5
votes
1answer
96 views

pester mode not working for showToastEvent in LWC

I have a Lightning web component (LWC) using showToastEvent. The pester mode is not working right -- I do not see a close icon and it closes automatically in 3 seconds. This answer says to clear the ...
0
votes
1answer
45 views

Closing the Quick Action Modal Popup in Mobile App

I have created a Quick Action lightning Component. In Mobile App , there is no way to close the Modal Popup window. So i added a Cancel button. The button shows on Desktop but not in the Mobile App. ...
1
vote
0answers
134 views

Unable to fire force:runActionComponent application event

Currently, LWC doesn't support QuickActionApi, but I really need it. Also, I am investigating option to wrap my LWC component by Aura component container, which will use quickActionApi and interact ...
0
votes
0answers
144 views

How to update child record from parent using LDS

My Requirement is whenever I want to change the close date or Engagement Start Date of Opportunity, Engagement Start Date is updated on Engagement Child Object records. Reason I am using here ...
0
votes
1answer
240 views

Opening a Lightning Component in a tab in Lightning Community

I am trying to open a Lightning component with a record id in new page / full screen from a Quick Action. Since, the component opens in a small popup, I used the approach mentioned here How to open ...
0
votes
0answers
22 views

can we customize the lightning component save button when we are using the object specific quick action?

Can anyone help me with this. I have a quick action on the standard object with the action type create record. and I implemented the lightning component to use the quick action on the standard object....
1
vote
0answers
24 views

Case Assignment Rule

One Javascript button on Lead page used to create cases, when the case gets created then Assignment Rule assign that case to the queue, and the user doesn't have access to view that case hence user ...
2
votes
1answer
33 views

force:lightningQuickAction . Will implementing this open the component as modalpop up directly?

I want to open a component as modal up from another custom of another component.If my child component has force:lightningQuickAction ,should that open directly as modal pop up without writing the ...
0
votes
0answers
17 views

Custom validation rule of lookup field is being called from Aura component of custom object

I have a custom Object which has look up relation with Account. I have made a custom lightning component on custom object as quick action in which user selects the lookup field for account and save a ...
5
votes
1answer
291 views

Link to new SObject page from list view button in Lightning with defaulted fields

My org just recently switched from Classic to Lightning, and there's one limitation I'm having a lot of trouble working around. Before the transition, we had a lot of URL hack buttons linking to the ...
1
vote
1answer
155 views

force:lightningQuickAction remove scrollbar

Is there a way to remove the vertical scrollbar from my aura component which implements force:lightningQuickAction? I would like to keep the upper section fixed and make only the lower content ...
2
votes
0answers
114 views

Lightning Component Quick Action Styling - remove gray background

When we create a custom Lightning Component Action on the Case object, which uses the force:lightningQuickActionWithoutHeader interface, the background of the component is gray. When we apply the ...
0
votes
0answers
16 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
105 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
125 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
160 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
73 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
77 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
91 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
160 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
169 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
2answers
1k 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
490 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
70 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
1answer
303 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
2k 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
190 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
187 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
81 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
307 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 ...
3
votes
1answer
4k 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
111 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
53 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?
1
vote
1answer
286 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
22 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
457 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
251 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
32 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 ...
1
vote
0answers
128 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 ...
17
votes
3answers
7k 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 ...
1
vote
1answer
1k 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 ...
4
votes
2answers
6k 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?