Stack Exchange Network

Stack Exchange network consists of 175 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 [button-overrides]

Override the behavior of standard buttons

1
vote
1answer
18 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
0answers
11 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
90 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
23 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 ...
3
votes
1answer
439 views

Navigate to Standard New Record page with LWC Navigation.Mixin when it has an override

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
48 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 ...
1
vote
2answers
107 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
291 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). ...
1
vote
1answer
51 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 ...
0
votes
0answers
87 views

Override New Button For for Mobile

We overrided our "New" button on Case only for Mobile with a lightning component. The user have to choose the recordtype before insert the case so we didn't check the skip recordtype flag. The ...
1
vote
1answer
40 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 ...
5
votes
0answers
130 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
0answers
40 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
45 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
28 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 ...
0
votes
1answer
230 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 ...
6
votes
2answers
739 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
1answer
150 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
71 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
3k 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
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
39 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
533 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"...
1
vote
2answers
2k 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 ...
0
votes
1answer
355 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. ...
2
votes
0answers
193 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)....
3
votes
1answer
608 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
1answer
427 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 ...
1
vote
2answers
713 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 ...
1
vote
1answer
958 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 ...
0
votes
2answers
897 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 ...
4
votes
3answers
898 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 ...
-1
votes
1answer
30 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 "...
2
votes
0answers
106 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 ...
0
votes
1answer
1k views

Can modal Lightning components be displayed on the very top? [duplicate]

I have overridden the standard New object action with my custom Lightning Component Bundle. I am using the modal CSS styles as well as the modal backdrop to mimic a native modal dialog in SF. The ...
11
votes
4answers
2k 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
1answer
591 views

Overriding New button while page layout is overridden by Lightning record page

I have the Account record page (View button) overridden by a custom Lightning record page, and I have set it as the default layout in Service Console. Now if I override the New button with a Lightning ...
1
vote
0answers
591 views

Lightning Action Override not working [closed]

I saw https://releasenotes.docs.salesforce.com/en-us/summer17/release-notes/rn_lightning_action_overrides.htm in the release notes and and to use it, but I can't get it to work. I am wondering if ...
1
vote
0answers
59 views

Not able to access parent relation field on overriden VF page for new action from related list - Lightning

We are overriding a New button standard action with a VF page, this is getting called from a related list which is a lookup to the child.On the related VF page controller, we are trying to access the ...
0
votes
1answer
264 views

how to override the vf page on custom object button in salesforce

vf page is not showing in button link and action my vf page code ****** <apex:page standardController="QuickCase__c" extensions="quicksls" action="{!init}"> <apex:form > <apex:...
0
votes
1answer
232 views

Default Name value in Lightning

We are currently using an s-control override on the New button to provide a default value for the Name field on various custom objects. For lightning experience, we have to replace this functionality ...
3
votes
1answer
252 views

Detect when user clicks cancel on createRecord modal

I am using sforce.one.createRecord() on a visualforce page. The visualforce page is then used as the override on the New button for a custom object. This works fine, except that I need to redirect the ...
2
votes
1answer
8k 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
vote
1answer
308 views

Custom Console Components not visible when “New Case” Button overridden

Custom Console Components are not showing (Knowledge / Lookbar Sidebars) are not visible when the NEW Case button is overriden by a VF Page which redirects users to Standard page or remain in VF Page ...
1
vote
1answer
378 views

URLFOR to Override Clone Button

I have a custom object with two record types. I've written a Visualforce page to override the Clone button on the object. However I only really want to override for one record type (PCS). My solution ...
1
vote
1answer
714 views

Overriding Standard Edit Button

On case, I did create a VF page to override the "Edit" standard button provided by Salesforce. I need to redirect it based on the record type of the record for which the edit is clicked. In the below ...
2
votes
1answer
161 views

Need help in rendering pageblocksection depending on record type name

I am overriding the New Button on My custom object which is having different record types. I need to display different sections based on their record type. Right now I am rendering pageblock sections ...
0
votes
0answers
244 views

View Button override - Redirect to a VF page or standard detail page based on Recordtype using URLFOR on page action method

I need to restrict View button override based on Record type of Opportunity using page URLFOR function on page action method. Based on the record type, I need to redirect the page to standard detail ...
0
votes
1answer
999 views

Lighning : Override new button to autopopulate fields in new record

since we are migrating to Lightning, I am experiencing some issues with a functionnality that we have. What I need is when i click New, the Name is auto populated for example with 'System'( this is ...
0
votes
1answer
190 views

can anyone tell me what is the functionality of parameter 'save_new' in vf page URL?

I wanted to know about 'save_new' parameter in salesforce URL and its usage.