Questions tagged [button-overrides]

Override the behavior of standard buttons

Filter by
Sorted by
Tagged with
1
vote
1answer
32 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
18 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
12 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
24 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
21 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
113 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
30 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 ...
2
votes
1answer
859 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
104 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
165 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
490 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
70 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
109 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
45 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
142 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
56 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
59 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
29 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
285 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 ...
7
votes
2answers
994 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
195 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
95 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 ...
3
votes
1answer
4k 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
40 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
583 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
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 ...
0
votes
1answer
411 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
213 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)....
4
votes
1answer
712 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
490 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
813 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
1k 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
988 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
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 ...
-1
votes
1answer
31 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
115 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 ...
10
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. ...
1
vote
1answer
617 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
599 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
60 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
301 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
259 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 ...
2
votes
1answer
308 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
313 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
410 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
758 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
184 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 ...