Stack Exchange Network

Stack Exchange network consists of 174 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

Questions tagged [action]

The tag has no usage guidance.

-2
votes
0answers
22 views

Unable to see New action option on Button,link and Actions in lightning [on hold]

I am unable to see the New action option on button, link and action in lightning
0
votes
1answer
22 views

Reload Modal Panel of Quick Action (Lightning Component)

I have a Quick Action with a lightning component, it's a form for the creation of records. I make a button (Save & New) in the modal panel, but i don't know how to reload the entire form or clear ...
1
vote
0answers
27 views

Adding a sibling record via Visualforce in Lightning

Scenario Custom object Basket__c is the Master of two Detail custom objects: Fruit__c and Vegetable__c. Visualforce page vfAddVegetableFromFruitPage is embedded via standard Page Layout ...
3
votes
1answer
40 views

Supply sObject record to process builder flow via REST API

I'm trying to invoke a custom flow (built via process builder) via REST API. The process begins with a contact record, This process starts when another process invokes it. Select an object ...
0
votes
1answer
20 views

while calling method showing variable undefine in lightning component

This page has an error. You might just need to refresh it. Action failed: c:SComponent$controller$arResult [str is not defined] Failing descriptor: {c:SComponent$controller$arResult} when click ...
-1
votes
0answers
34 views

How to stop force:editRecord navigating to saved object after save

I'm using force:editRecord to open the edit modal for a contract from a component that is found on a contact. Once the record is saved in this modal it's automatically navigating to the saved contract,...
0
votes
1answer
53 views

How to execute Apex code from Custom Object List View in Salesforce Lightning

Example I would like to add a quick action button to the list view page for custom object Invoice__c, the quick action is called Generate Invoices and when executed will run apex code to generate ...
1
vote
1answer
86 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
1answer
57 views

How can we add a new action (like Edit & Delete) for each record on the standard list page (Salesforce Classic)

How can we add a new action (like Edit & Delete) for each record on the standard list page (Salesforce Classic)?
2
votes
1answer
100 views

Lightning action call inside setTimeout returns result only when window (tab) loses focus

I have a Lightning action call inside a recursive setTimeout call. I call the action immediately and then every 3 seconds until the result it not null. I see my console.log('tick'); immediately. But ...
5
votes
0answers
110 views

Lightning Datatable Action Violates Content Security Policy directive

I'm using Lightning Datatable with Static Actions and following the guide in Developer Salesforce.com Lightning Datatable component guide but getting the following error (seen in the Chrome developer ...
0
votes
2answers
60 views

Cannot read property 'WhoId' of null when using lightning data service with task

I am actually using force:recordData to get info from a task and then I want to create an event from it. So I created a lightning component to be used in a lightning action. The component code is as ...
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
116 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
112 views

Why are Lightning Actions for Case Object showing in Feed?

I'm trying to create a button for a case detail page. However I can't get anything to show in the highlights panel at the top. I've created a new page layout for Case that isn't feed tracked but it ...
0
votes
0answers
23 views

Delete an object specific action

How could I delete an object specific action? Here is a screenshot in which you can see that there is no such option as Delete, only Edit on the right of the action list item. I have a System ...
2
votes
1answer
52 views

Is it possible to invoke a flexipage as a quick action or anyhow?

I found that we can use different action types unfortunately, neither of them is what I need. Is there a hack or trick to "route" to a flexipage? I need that functionality available in the mobile ...
1
vote
0answers
67 views

What is the URL to the new Salesforce Lightning Email Editor for use in Action Buttons

BACKGROUND I have an action button which opens this link: https://xxxxx.my.salesforce.com/email/author/emailauthor.jsp? p3={!Opportunity.Name} &p3_lkid={!Opportunity.Id} &cancelURL={!...
1
vote
1answer
18 views

apex:selectCheckboxes Command button stops working when an option is selected unless you click the button at least once before selecting any options

I have the following page: <apex:page controller="testPageController"> <apex:form> <apex:selectCheckboxes value="{!selectedContacts}"> <apex:selectOptions ...
5
votes
2answers
478 views

Lightning New Case action override

I have action override on New Case button which runs our custom component. As you know, we can create a new Case from different places in org, e.g. from related lists. When creating a Case from ...
1
vote
1answer
44 views

The response from the backend takes too long

After performing the $A.enqueueAction(anAction); the response provided with anAction.setCallback(this, aCallback); takes too long to execute (I should wait for something like 1-5 minutes after $A....
1
vote
1answer
67 views

Animation on opportunity closed won status

Is there a way to show some animation on the page once an opportunity is set to closed won status? I'd like to have some animation like money falling or fireworks to keep the sales team motivated once ...
1
vote
2answers
806 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(), ...
1
vote
0answers
44 views

Displaying Error Messages in Salesforce Mobile when using the Chatter “Post” Action

I want to prevent Chatter posts being created in certain conditions, displaying a relevant error message to users in the process. In this following example, I have created a trigger that prevents ...
2
votes
1answer
450 views

Email action not showing on my lightning layout

I added my standard email action to my page layout as shown here : But it is not showing on my chatter component on my case lightning page : I know that for case, lightning component action or ...
0
votes
0answers
137 views

open lightning action in subtab

I'm actually using the service console, and I saw that if I set my account as the main tab, I can open an account, and each related record that i open , will open as subtabs. This is very good, fine. ...
0
votes
1answer
211 views

new task not showing on person account page

I saw that there exist the new task action (standard button) that can be added to an account page. Actually i'm using person account. I want the new task button to show on my person account page. I ...
5
votes
2answers
1k views

How to add the quick action on lightning List view Record page?

I have a object and i create a list button on object to delete the all records on click on button and add that button on record list view page, somehow that is working fine in salesforce classic but ...
1
vote
1answer
34 views

Override AddCampaign action in Lightning?

I wish to override the 'AddCampaign' action on the Campaign object in Lightning. We have an 'existing' override in place already for Classic (which works :) ) The override is a Visual Force Page. The ...
1
vote
1answer
341 views

How to download a file created by APEX

When user clicks the download button in VF page, the apex code has to generate a xdp file on the fly and should get downloaded in the user machine. The below code creates the attachment. I don't know ...
0
votes
1answer
35 views

Action Plans V3 Unmanaged - Unable to undelete Accounts

I've been using "Action Plans V3 Unmanaged" for years. However we just tried to undelete an account and found that "Action Plans V3" is blocking the undelete. The error I get is this: Unable to ...
0
votes
0answers
273 views

Override Standard Action Layout Save Button

I have an Action (Type : Create a Record) created for the Account object. This action will open a standard layout to create a new custom object record (Related to Account). I need to override the ...
0
votes
1answer
1k views

lightning:datatable actions menu is hidden

The actions menu that is supposed to show when you click on the downward arrow on the right-end of a row is not showing. My component is dead simple: there is a lightning:datatable inside it ...
6
votes
1answer
125 views

Is it possible to execute post exit criteria action in Marketing Cloud Journey?

I am using Salesforce data as an Entry Audience of the journey in Marketing Cloud. I have defined exit criteria in the journey to remove the subscriber from the journey after the value of a checkbox ...
0
votes
1answer
100 views

null when use double server-side actions

let action = component.get("c.actionOne"); action.setCallback(this, function (response) { let state = response.getState(); if (component.isValid() && state === "SUCCESS") {...
1
vote
0answers
686 views

Apex controller action not accessible - “Unknown controller action 'getLeadSourceOptions'”

I'm up against a wall with this one. I've scrubbed my code 20+ times and I'm not seeing what I'm missing. According to the error, it sounds like the helper in the extended component is calling the ...
0
votes
0answers
34 views

Action doesn't work when the page is redirected from another page

I'm trying to call a server function in my VisualForce Page when the page loads. The problem is: when I preview the page everything works fine, but when this page is open by a redirect command ...
0
votes
0answers
148 views

Lightning new action override shows standard form

I am trying to overwrite standard new button with custom lightning component. The component tag is configured like below and is showing up as available to override with it <aura:component ...
0
votes
1answer
297 views

How to implement an Apex-backed Action button?

Is there a leaner way (less code) of implementing an Apex-backed custom button in the Lightning record UI than creating a "full" component per Action?
2
votes
0answers
204 views

Lightning custom button like Javascript button on classic

we have some requirements for which we need to build-up buttons like "javascript button" enabled for Classic version of SF. If I would like to reproduce the same behaviour in lightning the only way ...
2
votes
2answers
3k views

New Task Action missing in Lightning Experience

I've already added the new task in the Salesforce1 and Lightning Experience actions but when viewing it in the detail page, there's no new task. May I know why is that? This is the screenshot of the ...
0
votes
2answers
513 views

Lightning Component for quick action

I built a lightning component to make some changes to Lead Record and I added it as a quick action. This is my helper.js: changeOwnerAction : function(cmp,event) { var recordId = cmp.get("v....
1
vote
0answers
539 views

Add a lightning component to a related list on a record page layout

I currently have an object called related files that has 8 different object lookups and I have created a button for it that uses javascript to extract the record ID so just 1 button can be used for ...
0
votes
1answer
373 views

How to update particular section using action region

Here when i update the "Record Detail" section ,first section "Account information" validation error is throwing.how to update only the particular section through action region? visualforce page code:...
0
votes
1answer
1k views

Add Action to Button in Lightning VisualForce Page

I have a button that I want to redirect to another page here is the button: <button class="slds-button slds-button_icon slds-float_none slds-button_icon slds-button_icon-small" title="Edit this ...
6
votes
1answer
406 views

Lightning: Caching Actions Across Components

I have been using Storable Actions to help reduce the amount of identical calls that are going back to the server. Everything is working great but I have a question surrounding how this works across ...
0
votes
1answer
375 views

Global Action on a Visualforce Page

I am currently building a VF Page using SLDS and Angular JS to be used on lightning experience. I would like to know if there is a way to use the Send Email Global Action on the Visual force page, ...
1
vote
0answers
192 views

DML on page action

I have the following situation in my plate ... On page load, a modal pops up. The modal is invoked on an action attribute in apex:page. The method that is on the action has an upsert operation that ...
1
vote
2answers
2k views

Control the Action popup page width in Lightning Experience

I have an action on Contact page which opens a lightning component. The component opens as a popup/modal window, at a specific width. How can I change this width to make it wider?
1
vote
1answer
5k views

Passing record id from quick action to lightning component

I have an action on Contact page which opens a lightning component. How do I pass the current Contact record id to the lightning component?