Questions tagged [button-overrides]

Override the behavior of standard buttons

39 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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 ...
4
votes
1answer
589 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
264 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
398 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
216 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
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 ...
2
votes
1answer
486 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 ...
2
votes
0answers
328 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 ?
2
votes
1answer
489 views

Button override from Visualforce Page in Managed Package to Visualforce Page in Default Namespace

Related to this post, Open a visualforce page from a managed package page: URL No Longer Exists. Has anyone tried to take this a step further? The following button is on a Visualforce page in a ...
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 ...
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 "...
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 ...
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 ...
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
473 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(...
1
vote
1answer
196 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
67 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
136 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
46 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
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 ...
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 ...
0
votes
1answer
107 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
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 ...
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
289 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 ...
0
votes
1answer
419 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
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
0answers
264 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
635 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
337 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 ...
0
votes
1answer
536 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
2answers
591 views

Include Record Type into List Button URL

I need your help, I have a custom button which currently calls the following URL (See Below). I would like to include one more condition where it calls a particular Record type. My Record Type Id is ...
0
votes
0answers
307 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
659 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
213 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 ...
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" ...