Questions tagged [button-overrides]

Override the behavior of standard buttons

Filter by
Sorted by
Tagged with
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
1answer
1k 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
200 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.
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
1answer
2k views

Remove Save/New Button from a custom page

I have cloned a standard page into a custom page. How do I remove the Save/New button from my custom page? Do I need to go into Developer Console...or???
1
vote
2answers
173 views

Unable to Override (Related List) New Button? VF Page not selectable

Hope all is well. i am a newbie to visual force and apex and have looked at various documentation online. (Especially Visualforce in Practice, however i really need some SF expertise from the ...
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 ...
1
vote
1answer
171 views

Rename the button standard button save

Rename the button standard button save. What is the best way? Is the URL hack? or VF page. For both I need a code.Any ideas?
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
2answers
37 views

Need assistance with a TestClass for a Page Routing Class

I am stuck trying to figure out how to test the following Class: This Class is loaded when a user clicks on a Case detail link and I have an override on View for the Case Object which loads a VF page ...
0
votes
1answer
55 views

recordVarSet issue

I am overriding the LIST button of account Home page with my own visual force page. <apex:page standardController="Account" recordSetVar="accounts" tabStyle="Account" ...
0
votes
1answer
3k views

How to redirect to standard page?

This is the class: public class overrideButtonExtension { //public string callfunc{get;set;} //public Task t {get; set;} //Public Account acc{get;set;} PageReference pageRef; ...
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=....
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 ...
4
votes
1answer
166 views

Generate Tab URL With Pure Visualforce

I have a custom Object called "Related Professionals" and I overrided the 'New' button to auto populate the "Name" Field with the Default text. This is the New button Override VF page : <apex:...
1
vote
1answer
590 views

How to Navigate to Contact Creation Page

My use case is that I have overridden the 'View' button with a Visualforce page which immediately redirects to either a Visualforce page or the standard detail page based on the RecordType. I would ...
1
vote
1answer
887 views

how to override addproduct button of opportunity

i want to override the addproduct button of opportunity there is one condition ie if the pricebook is selected than redirect to my vf page and if it is not selected than redirect it to choose ...
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} &...
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 ...
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" ...
0
votes
2answers
211 views

Insufficient Privileges - JS Button on Child

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" ...
-1
votes
1answer
741 views

i want to add custom button in products related list of opprtunity? or Add Product URL Hacking

i want to add custom button in related list of product same work like add Product but view product based on my condition. how can i do that ?please let me know. thanks
1
vote
1answer
2k views

Override Standard New Button with Visualforce Page

I have a custom object that has a Master-Detail relationship to the Opportunity object. I created a Visualforce page that I want to use to override the standard "New" list button on the related list ...
1
vote
1answer
802 views

How to override and add visualforce page to the button

I already have in my Visualforce page the following: <apex:page Controller="CandidateController" > if I add to this: <apex:page standardController="Candidate__c" Controller="...
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 ...
0
votes
2answers
1k views

How do I override the delete button on VF page to return to parent?

I have a VF page displaying a custom object with it's child objects in repeating apex:detail sections. Each section displays the child with the standard edit, delete,clone buttons that are there like ...
1
vote
1answer
590 views

Set Record Type using Change Link - Visualforce Page Overrides

I have currently overridden the Edit/View/New buttons for the Opportunity object. Everything is working awesome except when I click the "Change" button beside the Record Type. At this point, I am ...
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 ...
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: ...
2
votes
1answer
84 views

Why does readMetadata() give me incorrect data?

I have a script that uses the metadata API to update the 'New' and 'Edit' action overrides for Account so those actions navigate to a couple of custom VisualForce pages. The script works. I can use ...
3
votes
1answer
187 views

Populate custom object custom fields on page load without ids

I'm trying to pre-populate fields on a custom object that I made. I tried passing the values through the url using a button link, overriding the default new button and providing the ids of the fields ...
1
vote
1answer
216 views

How can I set an ActionOverride with metadata API? (Using JSforce)

I am trying to use JSforce to set (update) the type, content, and comment fields on Account's New and Edit actionOverrides. I've been reading the documentation for the SalesForce Metadata API as well ...
1
vote
2answers
976 views

How to redirect to a VF page with a VF button

I have a mySObject__c and a page mySObject_Button_Page with <apex:page standardController="mySObject__c" extensions="mySObject_Button_Extension" title="{!mySObject__c.Name}" tabStyle="...
7
votes
2answers
1k views

Can users edit VisualForce pages in a managed package?

I am building a managed package that includes a VisualForce page that overrides the Account Edit page (by overriding the Edit button). Will users be able to customize this page? I worry that if they ...
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)?
0
votes
1answer
9k views

Open a new window on click and new tab on right click of a home page layout link

Open a new window on click and new tab on right click of a home page layout link. I managed to open a new window with following syntax. window.open(url, mywindowName, height="200", width="400"); ...
2
votes
2answers
1k views

Standard Clone Button - Setting Field Values - Custom Button Or Something Else?

Need: Ability to Clone records, and set a value into a field during the cloning. In my specific case, I want to populate either a Lookup field with the ID of the record cloned from (so passing ...
2
votes
4answers
2k views

Can I override Standard Save Button (with a visualforce page) on Standard page of a Custom object?

The requirement is to show some messages after Save. Messages would depend on the fields entered for custom object record. The best way which I figured would be to override the standard Save button on ...
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 ?
0
votes
1answer
275 views

How to OVerride the PricebookEntry Edit page

I wanna open my custom VF page when I click the edit button form the pricebookEntry page. is this possible? Please give me the guide. Thanks and Regards.
1
vote
1answer
809 views

Override 'Send email' button in Case related list

Is it possible to override the 'Send email' button in Case related list? Can any one give me an idea regarding this?
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 ...
2
votes
1answer
984 views

Overriding “New Event” button for Salesforce1 app

I have a overriden "New Event" button which points users to custom Visualforce page instead of standard page. It works in Salesforce.com web application. However, this does not work in Salesforce1 app....
0
votes
1answer
840 views

How to Run and Email a Report with a Custom Button?

Goal: I would like to have users be able to click a button that will do the following upon click (aka, request): Run Specific Reports Attach Said Reports to a Specific Template Email Said Template ...
0
votes
1answer
113 views

How to detect button action in controller that is associated with overriden Visualforce page?

I created a single Visualforce page that overrides default actions for almost all buttons for Event object. Actions are Edit, View, New Event, Accept and Decline. I need to detect the action in a ...
1
vote
1answer
2k views

URLFOR($Action.Account.Edit,Account.Id,null,true) redirects to edit page but unable to save or cancel

I'm using Account edit button override with custom visualforce page. In the visualforce page, it correctly redirects to that particular Account edit page, but the save and cancel button doesnt doesnot ...