Questions tagged [button-overrides]

Override the behavior of standard buttons

40 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
194 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 ...
6
votes
1answer
828 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"...
4
votes
0answers
275 views

Does defaulting save_new_url still work?

I see other posts that suggest populating the save_new_url will direct the user to a page other than the standard new for the record you are creating, but I can't get this to work. I go to this URL: ...
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} &...
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)....
2
votes
0answers
130 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 ...
2
votes
0answers
341 views

Overriding the “Select Template” button in Email Author

Is there a way to over-ride the "Select Template" button in the Salesforce standard email author page with a custom visualforce page ?
1
vote
1answer
266 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
0answers
96 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 "...
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 ...
1
vote
0answers
62 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 ...
1
vote
1answer
336 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
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 ...
1
vote
1answer
239 views

How do I make the system return to the parent object when I add a new child record from the ‘New’ button on the related list?

...instead of staying on the detail view of the new child record as it's doing now. Is there a setting somewhere or would I be forced to override the New button and change the url to include saveURL=....
1
vote
0answers
69 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 ...
1
vote
0answers
95 views

Is it possible to attach a VisualForce Page to the Activity Button “Send Email”

In the Override Standard Button or Link page for the Activity Button Send Email the description says You can replace the salesforce.com URL for a standard button or link with a custom s-control ...
1
vote
0answers
69 views

Override Standard Documents Home Tab/Document Detail Page

Is it possible to override the Documents home tab or Document detail page's buttons, links, and actions or page layout? Salesforce describes how to override standard buttons and tabs here, but this ...
1
vote
0answers
570 views

Why Standard “New” action link override in Salesforce1 having RecordType not working?

I've a Custom Object, and it has 3 RecordTypes. In my app, I've added an override for the "New" action link with a Visualforce Page. Now in app (from desktop browser) the New button redirects and ...
1
vote
0answers
141 views

Override detail page with rowsperlist parameter

I'm trying to append the parameter "rowsperlist" to an object detail view. So, I've created a page to override the "view" button for that object with an action to redirect to the original record with ...
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 ...
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
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
0answers
22 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
0answers
52 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
22 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 ...
0
votes
0answers
54 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 ...
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
241 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 ...
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 ...
0
votes
1answer
398 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
592 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
0answers
309 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
0answers
718 views

How to display lookup value from related object and opportunity in the same page?

I have an object that is related to an opportunity. I want to override the new opportunity page, so when creating a new opportunity, a related record will also be created. I am able to create the VF ...
0
votes
1answer
702 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
336 views

hide “new” button on contact tab or lead tab

is there a way i can hide the "new" button that comes up on the screen when we click on of the Standard object tabs? i am not sure how to go about it after summer'16 disabling home components.i tried ...
0
votes
0answers
739 views

How can i Override Custom button with Save & Add products(Opportunity)?

Is it possible to Override the Standard button (Save & Add Products) on creating of Opportunity with Custom Button (Actually the thing is i want only save the record with out prompting user to ...
0
votes
1answer
219 views

Override standard tab name in detail page

I have a Tab - say "Issue Tracker". On clicking this, a vf page is opened from which 3 options(links) can be selected. On selecting any of the links, user is directed to the standard new page layout ...