Skip to main content

Questions tagged [button-overrides]

Override the behavior of standard buttons

Filter by
Sorted by
Tagged with
-1 votes
0 answers
16 views

How to override the standard creation page with LWC

Two objects having Master Detail relationship (Rule & Conditions). Conditions is the detail object. I have a related list Conditions on a Rules object having NEW button for the creation of new ...
sarah's user avatar
  • 13
0 votes
0 answers
50 views

Override standard new button with Aura component and display a message

I have overridden the standard new button from Quote object and I want to display a message when user clicks on the button. <aura:component implements="flexipage:availableForRecordHome,force:...
LauraB's user avatar
  • 15
0 votes
0 answers
57 views

Override 'New Account' lookup input field with flow

I have standard object Campaign where I have custom field My_Company__c which is Lookup(Account) data type. When I click on this field and want to create new Account by clicking on 'New Account'. I ...
Mamed's user avatar
  • 128
0 votes
1 answer
29 views

Call LWC from Aura , reset fields doesn't work

I'm calling LWC from Aura component , (im overriding the standard new button ) <lightning-record-edit-form> <lightning-input-field ... ... <lightning-button label={LWC_Cancel} size="...
Fark's user avatar
  • 27
0 votes
1 answer
211 views

Refresh Original Record Page's related lists from Related Record's Override Aura/LWC

I'm currently looking for solutions for how to refresh the related lists on a record page from an LWC. Here's what to know: I have an Object Action which has its New button overwridden by an Aura ...
E.Hirsch's user avatar
0 votes
2 answers
366 views

Overriding New button with LWC wrapped in Aura but additional tab keeps opening and I cannot close it

I'm trying to override a New button (from List view) with LWC wrapped in Aura. The thing is, I want the New button redirect to a record page, meaning - the New button should create the record and ...
mpaun's user avatar
  • 16
0 votes
0 answers
59 views

Aura Action Override - Close Temporary Nav Item when pressing Close

Having an interesting issue that I can't find any documentation on. I have an Aura component overriding the New action of a custom object. Inside the Aura Component is a child LWC, example: <aura:...
Morgan Marchese's user avatar
0 votes
1 answer
165 views

Unable to Upload Files of Lightning Flow launched by Visualforce

We are using Visualforce override page for New Case Action that is triggering Lightning Screen Flow via Lightning Out. The Lightning Runtime in Visualforce Page was Rendered according to Salesforce ...
Vasyl Poidynets's user avatar
0 votes
1 answer
599 views

Overwrite New acton button for custom object

I'm new to salesforce development, and I want to overwrite the New action button for my custom object. Here is my VFP code. <apex:page standardcontroller="Document__c"> <...
Csabikaaaa's user avatar
0 votes
1 answer
758 views

Lightning Component Override for NewCase button is not working

I would like to launch a Flow instead of the standard "NewCase" button to create a Case. I have followed some instructions to create a Lightning Aura Component to launch the Flow in a modal, ...
JustinF's user avatar
  • 485
1 vote
1 answer
611 views

How to keep override standard New/Edit Button After the Production Deployment

I have override standard New/Edit Button of the Custom Object.As the Production Deployment happens override standard New/Edit Button will change to Standard New/Edit Button,For every Production ...
Vinitha Vino's user avatar
0 votes
1 answer
363 views

Need Help Finishing Code to Change Aura Button Color for Flow

I am following this Salesforce article to modify the "brand" button variant with a custom color, but it will not use my css styling changes. The goal is to use it in Screen Flow, and also ...
Robert Uzdavines's user avatar
2 votes
2 answers
2k views

Override Related List's New button to open Screen Flow in a modal

I want to create a button on the related list which could open up a Screen flow as a modal.
SfdcBat's user avatar
  • 4,811
1 vote
1 answer
1k views

Override new button aura wrapper with lwc functions does not work

I am overriding new button with aura and using inside aura my lwc. But I cann't invoke any lwc fucntion. I added debug points, but they are not triggered. So it seems that methods are not called at ...
fedove's user avatar
  • 15
1 vote
0 answers
35 views

LEX replacement for Delete override that only applies to UI-initiated delete action?

As prep for migrating to LEX, we need to replace our existing Delete overrides for Quote and QuoteLineItem; they check a custom setting and a couple fields and determine if delete should be allowed. ...
Mo Johnson's user avatar
0 votes
0 answers
113 views

Missing inline helptext

I've encountered the problem with the inline help text. I've it on my field called Label on a custom object. The problem is that when I'm overriding the New button for that object with the Aura ...
ukulele's user avatar
  • 35
0 votes
1 answer
1k views

overridden standard buttons not showing up at mobile and lightning experience action section

We have overridden some standard buttons on several custom sObjects: For some reason, they are not available as lightning actions to show them on record detail page: Only the "delete" ...
joacoiudica's user avatar
0 votes
1 answer
494 views

Set TaskSubtype=Call by URL Custom Log a Call

The standard "Log a call" is: I have a custom "Log a Call" button on Lead Object, This is de URL: /00T/e?title=Call&who_id={!Lead.Id}&tsk5=Call&tsk4={!TODAY()}&...
Ernesto Truyen's user avatar
0 votes
1 answer
328 views

How to add a new button to the form of new opportunity?

this is the form where i want to add the "save & new quote" button .Is it possible to add a button to the New Opportunity flow? Once the form is felled , I'd like to have the option to ...
AYA ISMAIL's user avatar
0 votes
1 answer
490 views

How to override the Tab Style of Account Standard Object using Lightning Component

INFO BELOW IS FOR VISUALFORCE but I need to override the Tab with a Lightning Component. Any idea how to do this? Create a Visualforce page with the below code(same as yours but without a tabStyle ...
mels.c's user avatar
  • 23
1 vote
1 answer
323 views

How to redirect upon save of edited custom object

My requirement is that after save of a record of custom object (Workflow__c), the user is redirected to the home page. I have set the override for the View action on the custom object to be ...
Luke Bray's user avatar
  • 506
1 vote
2 answers
302 views

Overwritten new standard button how identify which function the user has used

I have successfully overwritten the "New" and "Edit" behavior of a custom object with a lightning aura component. Everything is working fine and if the user clicks the related list new button of the ...
Andreas Epping's user avatar
1 vote
1 answer
1k views

force:hasRecordId interface doesn't provide recordId from "new" button override

I have two custom objects (let's call them House and Resident). The House record page has a related list containing all related residents. I also have two lightning components (ResidentDetails and ...
Jessica's user avatar
  • 155
1 vote
0 answers
343 views

Overriding standard edit button in community cloud doesn't work even though all settings are fine (and other buttons overriding works fine)

Something weird is happening in our community site. We have the New and Edit standard button overridden for our custom object, so it can be edited in our custom component. Everything works fine, but ...
robruf's user avatar
  • 372
0 votes
0 answers
3k views

Calling LWC from Aura component, but LWC doesn't render when using standard button to call aura for the 2nd time

I'm fairly new to Aura and LWC altogether. I'm overriding a standard new button with an Aura Component and calling an LWC component from there. LWC component calls another LWC component from it. I'm ...
Abhinav Gupta's user avatar
1 vote
0 answers
193 views

How to I read url parameters in action override aura component?

I have overridden New action on my custom object with Aura component that launches flow. Standard new action was used with url parameter and input field was filled with default value by framework. Url ...
Vladyslav K's user avatar
  • 2,743
0 votes
1 answer
749 views

Using lightning:actionOverride and getting URL parameters of the clicked button (defaultFieldValues)

I have a New button override set to send all New requests to a custom Lightning Component. This works fine. However, I have several buttons with defaultFieldValues set to prepopulate fields. Since the ...
Jacob Raccuia's user avatar
3 votes
0 answers
292 views

$CurrentPage.Parameters.retURL null in Lightning but not Classic

Using the following VF page that is an override of the Task's Delete button (Goal : Prevent any but Sysads from deleting Case completed Tasks) <apex:page id="TaskDelete" ...
cropredy's user avatar
  • 72.1k
1 vote
0 answers
387 views

Buttons, Links, and Actions not being applied to Community (since Digital Experience rename - 1/13/2021)

We have an override of our 'Edit' Action on the Case object. In the past, when using the 'Edit' Action, regardless of whether you were logged into the community or not, it would apply our override ...
Arjun Kumar's user avatar
0 votes
1 answer
2k views

Cannot read property 'state' of undefined

I am new at coding and receiving an error "Action failed: c:NewMarketingTicket$controller$init [Cannot read property 'state' of undefined]" when accessing a custom LC button override when ...
mhitt's user avatar
  • 13
2 votes
2 answers
1k views

Standard New button Visualforce Override shows blank page in Lightning Experience after Winter '21

We've been experiencing an issue just after Winter '21 that on objects that have been overridden by a Visualforce Page for New button, the New action only works first time, if users instead of ...
VarunC's user avatar
  • 6,000
1 vote
2 answers
1k views

How does salesforce know what page layout to choose when creating a new record and is there a way to call this from a custom lightning component

As many other posts i've read, I am trying to override the standard "New" button in a related list with a lightning component so that we can auto populate some fields for a client. I want to ...
ThatGuy's user avatar
  • 85
0 votes
1 answer
137 views

Can I customize the "display as" toggle on a list view to always display all options?

In a list view, when you click on the "display as" button, it gives you the three options for displaying the list view. I wonder if there's a way to customize this so that the display as ...
user-2147482428's user avatar
0 votes
1 answer
271 views

Is there any way to remove overrides for standard buttons by APEX code?

I'm developing the managed package, which contains some extended lwc form for new account creation. Reassign "new" button on account object is manual operation (after managed package ...
Niko Salogubov's user avatar
1 vote
0 answers
562 views

Limit from Address for Email Action

Currently, in my Email Send Action, I have more than 30 options in the dropdown to select from Address. This is frustrating for our user who needs to scroll through all lists. I want to limit this ...
salesforce Developer's user avatar
0 votes
1 answer
725 views

Button Override - Redirect on Create of Custom Record

When a user creates a new record I want to either A) redirect them to a page that says "success" or B) redirect them back to the home page with an alert that says "success". I don'...
Olivia's user avatar
  • 3,471
0 votes
1 answer
1k views

Force Redirect At the Conclusion of Flow

I have a Flow wrapped in a simple Lightning Component that I use to override the standard "New" button on accounts. I'm running into a couple of issues with the user experience. At the end ...
user85687's user avatar
1 vote
1 answer
999 views

Conditional Override of 'New' Button

I want to display the standard Salesforce page after clicking on 'New' button for some conditions and for others I want to override the 'New' button with a VF page. I am not really sure what should be ...
Rahul's user avatar
  • 19
3 votes
2 answers
8k views

ConnectedCallback Isn't getting called the 2nd Time when New/Edit/View button is overridden with Aura Component which in turn calls LWC

I've an aura component that is overriding the Standard New button. The aura component in turn calls a LWC - which loads the custom record edit form. What I've noticed is - the first time the New ...
Piyush's user avatar
  • 43
0 votes
0 answers
265 views

Prepopulate a Field via Button override of Clone button

I need to prepopulate the Cloned_From__c field on the case when a user clicks the standard clone button, the field should be the case that is being cloned. How do I prefill this field out before I ...
Colby Flye's user avatar
0 votes
1 answer
1k views

e.force:createRecord not loading create screen - lightning Component

I've created a LC to override the standard new button on a custom object. The component uses e.force:createRecord to load the createRecord screen for the object All works fine when you use the ...
Steven Hodge's user avatar
0 votes
1 answer
113 views

New Button on Account overriden with Lightning Component

I have overriden 'New' button on Account with an aura component. So when a user clicks on New button , all the Account record types get populated. The issue is, user has access to only 2 record types ...
SFDCKASH's user avatar
0 votes
1 answer
55 views

How do I interrupt the NEW process, then return to it?

I've been asked to display a text message before creating a new opportunity. In my use case, a user clicks NEW, and before the New opportunity standard page opens, he views a message. That message ...
Wayne Cordrey's user avatar
0 votes
1 answer
1k views

Is it possible to override "Change Owner" button from listview items menu?

As the title says: Is it possible to override "Change Owner" button from listview items menu? If so, how can be done? Thank you all!
juldeh's user avatar
  • 21
3 votes
0 answers
777 views

How to navigate to "Add Products" standard page from LWC?

Upon standard opportunity creation, a standard Add Products page is shown to the user(if the checkbox in Setup>Opportunity Settings is checked). However, we have overridden the standard opportunity ...
Ayush Goyal's user avatar
0 votes
0 answers
127 views

Winter 20 - Custom Override Redirect Issue

When I create a new Account I have a lookup field to Contact with a custom aura component override for the “New” button. The issue I’m having is that when the user is creating an Account and wants ...
626's user avatar
  • 273
1 vote
1 answer
1k views

Winter 20 - change in behaviour - "New" button on Lookup search results

It seems there might have been an undocumented change to the behaviour in lookups in Winter '20? Previously, when clicking the "New" link at the bottom of search results, I'm pretty sure that a "New" ...
Bigears's user avatar
  • 1,131
6 votes
1 answer
18k views

Overriding "New" with a lightning aura component: there is a way to make a popup that appear in the object home page?

There exist a trailhead on how to Build a Lightning Component to Override a Standard Action. Basically the final result is a lightning component that resemble the standard modal that appears when the ...
gvgramazio's user avatar
1 vote
2 answers
1k views

Is there any way to override or hide the standard "Import" list view button in Lightning?

In Lightning, the Recently Viewed list view for a custom object has New and Import buttons by default: I would like to override or hide the Import button since our custom object has a custom import ...
Jelle van Geuns's user avatar
1 vote
1 answer
293 views

Ability to remove action overrides in Lightning whilst leaving them in place in Classic

The documentation states/strongly implies that there should be an ability to leave an action override in place in Salesforce Classic, whilst removing it in Lightning/Mobile: Remove Overrides for ...
Bigears's user avatar
  • 1,131