Questions tagged [button-overrides]

Override the behavior of standard buttons

Filter by
Sorted by
Tagged with
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 ...
6
votes
1answer
5k views

How do I use the same Visualforce page to override view, new, and edit buttons on custom object

I have a custom Visualforce page for a custom object. I have overriden the new, edit, and view buttons to point to this page. I would like to dynamically change the look of the page based on what ...
1
vote
1answer
5k views

How to Override Edit button for Custom Visualforce page based on RecordID

I have Order form,where there are 3 types of Orders(OrderScan,OrderFill,OrderGet) for each of these i have created Visualforce Page for new Orders(By Overriding New button).Based on these Record types ...
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
0answers
68 views

Open Attachment on Create of Child Record

I have a requirement for a custom app I am building to open an attachment on the parent record in a new window on create of a child record. I have parent object Quality_Assessment__c with child ...
11
votes
1answer
2k views

Overriding a standard button depending on whether user is licensed

I have Visualforce pages that I use to override the Contact Tab, View and Edit buttons. These pages are part of our package. The client would like users who are not licensed to use our app to be ...
6
votes
1answer
6k views

Override a standard “New” button to redirect to a VF page

I am trying to redirect the "New" case button to point to an intermediate page which will have 5 hyperlinks. These links will be pointing to the standard edit mode with some field values passed ...
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. ...
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 ...
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 ...
0
votes
1answer
1k views

override standard edit button based on recordtype

I have a requirement to show different edit layout, based on recordtype, using standard edit button override. I'm trying to create a visualforce page and assign it to the edit button, refrering this ...
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 ...
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"...
3
votes
2answers
573 views

Override View with URL

Is it possible, via the API or otherwise, to override the View button of an object with a URL (instead of a VF page)?
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
147 views

Controller extension on an archived task

So I have a VF page that is being used to override the Task View and Edit actions. <apex:page standardController="Task" docType="html-5.0" readOnly="true" extensions="myControllerExt"> &...
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
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 ...
0
votes
1answer
3k views

How to override default contacts tab with custom visualforce contacts tab?

BACKGROUND Run into an issue implementing the answer to this question, How to recreate Contact, Account, & Opportunity homepages with Visualforce pages? - that being: There appears to be a "...
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" ...
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. ...
0
votes
1answer
568 views

Insufficient Privileges on JavaScript button used on Child Related List

Parent= Case Child = MyCustom__c I have "New Cust" JS button on MyCustom__c related list - -> Now I go to my "Case" record (in Console) -> Go to related List "MyCustom" -> Click on"New Custom" ...