Questions tagged [lightning-quickaction]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
30 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
46 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
13 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
50 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
43 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
45 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
19 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
16 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
27 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
14 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
153 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
45 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
62 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
14 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
70 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
71 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
115 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
49 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
35 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
66 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
107 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
86 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
754 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
412 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
55 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
242 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
1k 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
133 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
108 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
65 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
181 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 ...
2
votes
1answer
3k 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
62 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
33 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
245 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
18 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
343 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
210 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
31 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
110 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 ...
14
votes
3answers
5k 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
965 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
2answers
5k 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
236 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
952 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.
2
votes
1answer
475 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
784 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
947 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
878 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
346 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 ...