Questions tagged [button-overrides]

Override the behavior of standard buttons

Filter by
Sorted by
Tagged with
3
votes
1answer
425 views

Custom url hack button not working

Could someone please review the following code and explain why this custom button is not working? <apex:page action="{!urlFor('/a0H/e? Name=[autoname] &CF00N3B000000TB2z={!Contact.Name} &...
1
vote
1answer
526 views

Override Save button without additional VF page

I try to implement the following: After clicking the Save button on a Standard Object I want to make a callout to a web-service and after receiving the results I want to present a custom VF page where ...
4
votes
1answer
1k views

Overridden standard “New” button is not showing in community

We have one object whose standard "New" button has been overridden with visualforce page. It's working fine in Salesforce classic. I can see "New" button in related lists. In lightning community, i ...
0
votes
1answer
700 views

New button override does not pre-populate the master detail field with the parent object record!

I created a visualforce page to override the new button of custom object called "Employment History" which is a child object to the standard contact object. I did this in order for the record name (in ...
0
votes
0answers
19 views

New Button Override Won't show VisualForce Page

I have a VisualForce page for products that I want to show when I click the New button (for example, from a list of all products). I have set the override for Salesforce Classic, and in classic it ...
0
votes
0answers
17 views

Prepopulate LWC component lookup field based on account where button is clicked

I need to replace new opportunity button on related list on account object with LWC component which I already done. But I also have account lookup field there. How can I prepopulate this field with ...
0
votes
1answer
397 views

lightning:actionOverride set Page Title

I've create a lightning component which implements lightning:actionOverride, for use as a custom new record page. I've created an object called "Custom Object" with API Name "CustomObject__c" ...
0
votes
0answers
27 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 ...
0
votes
1answer
68 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 ...
0
votes
1answer
36 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 ...
6
votes
1answer
827 views

standard action button disappears after override

We have set-up a partner community for our customer where we have overridden the "new" button on account with a visualforce page (for "classic") and a lightning component (for "lex"). In the "classic"...
0
votes
1answer
12 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 ...
0
votes
1answer
590 views

Override 'New Product' on Opportunity doesn't work in Lightning Experience

We are overriding our standard 'Add Product' button on Opportunity in Classic to redirect to a Visualforce page. Works fine there. When migrating to LEX, we are seeing that this action is unavailable. ...
7
votes
2answers
2k 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 ...
0
votes
0answers
20 views

override save button in lightning web component after create record

Is there a possibility to create this field as standard in Lightning web component? I did it in custo the problem when I create a contact and I click on save it redirects me to the contact created ...
0
votes
1answer
24 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!
0
votes
0answers
48 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 ...
0
votes
0answers
18 views

How to Overwrite Pricebook Buttons With VIsualforce Page Custom Buttons

I have a requirement to overwrite the standard New and Clone buttons for Pricebook but I cannot find any "Buttons, Links, and Actions" section similar to what you would see for other objects. Does ...
0
votes
0answers
27 views

How to get parent Id in VF Controller, if related list New button is overrided in Lightning View

There are two Objects: Parent__c Child__c I am on Parent Record in Lightning and creating a Child record from Related List of Parent. Standard new button is overridden with a VF page. My ...
0
votes
0answers
21 views

View standard override with lightning component does not work in partner communities

I have a custom lightning component that overrides view standard button for one of the sObjects in my org. If I enter as admin it displays my custom lightning component but, if doing externaly as ...
4
votes
2answers
6k views

Overriding Related list standard button with Lightning Component & prepopulate parent record field in form

Is there any way to override 'New' standard button with lightning component and refer the parent record as prepopulated value in record creation screen? I saw in some posts to achieve this using ...
1
vote
1answer
142 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" ...
0
votes
0answers
53 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 ...
2
votes
1answer
2k views

Navigate to overriden Standard New Page with LWC NavigationMixin

Many Standard New buttons in my apps are overriden using Aura components. The do some Apex and then redirect to the real standard new pages. I now migrated such components to LWC. Where I had this in ...
2
votes
1answer
2k 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 ...
1
vote
1answer
263 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 ...
1
vote
1answer
81 views

deployed <actionOverride> but action not overriden

I am overriding the edit button with a lightning component, in my sandbox it works fine. See the metadata: when deploying I only deployed the section of metadata that I wanted to add, it looked like ...
1
vote
1answer
73 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 ...
1
vote
1answer
326 views

Overriding Standard 'NEW' button using Visualforce or Creating custom button and replace standard button

Using a Before trigger/ Workflow has not helped me fill in or provide a default value to a standard field(NAME) while saving a new record. I was asked to build a Visual force page and then override ...
0
votes
1answer
48 views

Prevent Opp Creation Without Contact

We're looking to ensure that every newly created opportunity has an OpportunityContactRole upon creation. To do this, we removed the New Opportunity button everywhere which would force reps to ...
0
votes
1answer
235 views

Overridden button disappeared from related list in community

We want to override the "New" button for a custom object for our community, using a Lightning Component. So we went ahead and did that. The thing is, now the "New" button doesn't appear on the related ...
9
votes
4answers
4k views

Lightning Component - Overrides 'New' Standard Action with different record types

I'm trying to overrides the standard 'New' action on one of my custom object. First of all, as you can see from the above picture, the 'Skip Record Type Selection Page' checkbox doesn't seem to work. ...
1
vote
2answers
1k views

How do you access the user's choice for RecordType when using a lightning component to override the New button on a custom object?

I have a custom object with two different record types assigned to the standard user profile. We are using a Lightning Component to override the standard functionality of the New button, and this ...
1
vote
2answers
379 views

Overriding new button in List view to point to custom apex page

I want to override my new action (button on listview) for a custom object with a link to a custom apex page. I have created an apex page with the following attributes : <apex:page showHeader="...
1
vote
1answer
956 views

Override Save Button in Lightning Modal

My goal is to override the save button to call out to an external service synchronously. I understand I have to create a custom VisualForce page or Lightning component (I'm going to use the latter). ...
0
votes
1answer
2k views

Remove Save/New Button from a custom page

I have cloned a standard page into a custom page. How do I remove the Save/New button from my custom page? Do I need to go into Developer Console...or???
1
vote
1answer
2k views

overriding new button on custom object how to do you access the opportunity id

I'm trying to override the new button on one of my objects with a lightning component. If this object is being created on an opportunity is there a way to get the id of that opportunity? If you ...
1
vote
1answer
134 views

How to remove `Save (Ignore Alert)` and `Save & New (Ignore Alert)` buttons?

I have created a duplication rule so that when a new lead record is created to notify the user if there is an already existing lead. When there is an existing and duplicated lead I need to forbid the ...
1
vote
1answer
69 views

Unable to disable a Visualforce Override for standard buttons

I have installed an HR managed package, but I don't want to use their Visualforce pages on some objects -- I would prefer to use the standard Salesforce record detail page. I have edited the standard ...
6
votes
0answers
193 views

Lightning component override for standard new button not always getting called

This may not be the best place to post this, but since Salesforce partner support has refused to look at the issue, saying it’s a developer issue that requires premier support, I’m posting here to see ...
1
vote
2answers
3k views

Standard button overrides not working in lightning after Spring'18 release

I have overridden standard 'Add Products' button of OpportunityLineItem object with a VF page. It was working fine in classic and Lightning both before Spring'18 release. But after Spring'18 release ...
1
vote
0answers
95 views

Auto populate Account name on child object while click on “Save & New” standard button

I have created a custom object and created a Master-details lookup field to Account. While creating new records, there is an issue. When I click on New button, fill in all the fields and click on "...
0
votes
1answer
84 views

Override VF/Lightning standard action defined

We are in the process of migrating to Lightning. In our current solution we use on some objects the Visualforce override to view/edit the object record. For Lightning I would like to switch back the ...
0
votes
0answers
32 views

Is it possible to modify content of Order new modal?

In Orders tab there is a "New" button, that opens a modal to create an order. I'm trying to modify it's content, and add some custom code in there (showing dynamic customer based options). Nothing ...
4
votes
1answer
618 views

View override does not work in partner community

I have a lightning component that overrides the view action on Contact and redirects the user to the Account detail page. It works well in Lightning Experience and Salesforce1 mobile app but does not ...
2
votes
1answer
156 views

View override fails when URL Rewriter is implemented

Problem: Using a URL Rewriter class causes failure of a View override page Background: We have a community portal with a custom Visualforce application. We have overridden the View action on Case ...
1
vote
1answer
47 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 ...
4
votes
3answers
1k views

Unable to override default “View” action

I'm trying to override the "view" action of a custom object, but unable to do so (and getting some odd error messages in the process.) When the screen first appears, none of the three radio buttons ...
2
votes
0answers
250 views

Can't see new record in Related List without refresh: actionOverride

Context: I'm building a lightning component to override the New action for a custom sObject, let's call it My_Object. My_Object has a master detail relationship with Contact (My_Object is the detail)....
1
vote
2answers
1k views

Override Standard Button - Enable different behavior in Lightning and Classic

We are migrating a section of the company to Lightning. We have some objects whose records open in custom Visualforce pages because we wanted to display information across multiple tabs. We achieved ...