Questions tagged [button-overrides]

Override the behavior of standard buttons

Filter by
Sorted by
Tagged with
0
votes
0answers
8 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
1answer
631 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 ...
2
votes
1answer
519 views

Unable to get Console Tab Icon to appear using setTabIcon()

I have a VisualForce Case Detail page that is used in place of the standard case detail page via a Button Override. The page itself is a very basic custom page. I have some javascript code that uses ...
0
votes
0answers
16 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
11 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 ...
3
votes
2answers
5k 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
443 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 ...
6
votes
1answer
754 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
521 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. ...
1
vote
1answer
106 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
52 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 ...
1
vote
1answer
502 views

To override the standard button New Task in open activities in opportunity related list

This is Extension: public class overrideButtonExtension { public Task t {get; set;} public List <Opportunity> opp = NEW List<Opportunity>(); public overrideButtonExtension(...
3
votes
1answer
414 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} &...
2
votes
1answer
1k 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 ...
0
votes
1answer
392 views

Lightning: e.force:createRecord event does not respect overrides

I've got a lightning component that fires e.force:createRecord but can't get it to respect either the "Salesforce Classic Override" (VF page) or "Lightning Experience Override" on the New action. The ...
1
vote
1answer
857 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
123 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 ...
0
votes
0answers
27 views

Override create article / knowledge button on knowledge tab in classic

The actual challenge for me is: Pre-populate 'Article Content' field (Rich text) on load while we create knowledge from the knowledge tab. What I've tried so far : URL Hack but i did not get this ...
1
vote
1answer
54 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
51 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
215 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
39 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
158 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
3k 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. ...
0
votes
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
269 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="...
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 ...
1
vote
1answer
790 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
106 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
60 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
167 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
70 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
74 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
30 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
561 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 ...
0
votes
1answer
309 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" ...
2
votes
1answer
138 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
45 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
1answer
905 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 ...
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
245 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 ...
2
votes
0answers
125 views

Override Opportunity New button with Visual force not populating account name from Related List after record type selection in lightning

I have overridden the opportunity new button with Visual force page and working all well in classic. But we enabled lightning recently and Opportunity new button is working properly but. In ...
1
vote
1answer
2k views

How to remove standard New Opportunity button shown on Opportunity related list from Account object

I would like to replace the New Opportunity button with a custom button so I can copy information from the Account into the non-editable required opportunity fields. I've tried reviewing search ...
2
votes
1answer
9k views

overriding standard buttons with lightning components

I am trying to override a standard "New" button that appears when Case tab is clicked ,so i navigated to new button on the object and i see lightning component bundle is one way to override but when i ...
-1
votes
1answer
32 views

Lead Convert guarantees Contact Attribution on Opportunity. How to guarantee it when Opportunity is created from Standard Contact Detail Page?

Here are options, examples, my comments, and my requirement for different approaches to creating Opportunities from the Standard Contact Detail Page. I am looking for help with option 3. I need to "...
7
votes
2answers
3k views

How to retrieve action overrides?

Question Is there any trick to retrieving action overrides via the metadata api? Background The docs seem to indicate this is straightforward, just use object dot notation and a type of ...