Questions tagged [button-overrides]

Override the behavior of standard buttons

Filter by
Sorted by
Tagged with
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 ...
1
vote
1answer
602 views

How to call the overridden Delete link (Del) in a Related List of Account detail page, which is displayed using “nooverride=1" parameter in the URL?

I have overridden the standard "View" of the Account detail page with a custom Visualforce page. When I need to display the Account detail page, I use the "nooverride=1" parameter in the URL to ...
1
vote
1answer
692 views

Overriding both list and view of an object with visualforce pages

I'm overriding both the "List" and "View" standard actions on a custom object X, with two visualforce pages "XListView" and "XDetailView". I'm overriding the tab of this object as well, with XListView....
1
vote
1answer
2k views

Override Delete button/link with VF page

I'm trying to override the custom Account button links to allow users to merge Accounts while only allowing SysAdmins the ability to delete accounts. I had a working version of this earlier but now ...
2
votes
2answers
51 views

Impact on the Standard Entity

If I use custom VF page to override the Save functionality @ Opportunity level, what will be the impact on the Triggers, VAlidation Rules and any other codelinked with the entity? In a nutshell, I am ...
0
votes
2answers
2k views

Override Standard Save button on Opportunity Object

I have the below scenario to achieve : At the time of saving the Opportunity record, I want to invoke a webservice call to the external system. If the response of the call is greater than some value,...
2
votes
1answer
494 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
3answers
2k views

New button on listview not appearing for some users in Salesforce1 app

The new button for this object is overridden by a vf page. It is showing in the sf1 app for admin users but the same button is not showing up for some other non admin users in sf1. Profiles and other ...
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 ...
3
votes
1answer
1k views

How to default lookup values for new records witth skuid pages?

Background I've overridden the new button for a custom object with a skuid page. When the new button for custom object is clicked from a parent object, I'd like the parent lookup to be populated. For ...
0
votes
1answer
469 views

overriding the delete button with visualforce page

I need some help. I'm overriding the delete button with visualforce page. The question is : How can I get back to the list view or details view depending on from where this button was pressed?
1
vote
1answer
2k views

How to override lookup icon in standard page layout

We need to override lookup icon in standard page layout and customize logic by ourselves. Anybody knows how to solve this?
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 "...
2
votes
1answer
1k views

How to prepopulate custom fields by URL hacking?

I am able to copy and save a new custom object from a JS button in Account detail like this.. {!REQUIRESCRIPT('/soap/ajax/27.0/connection.js')} var fb=new sforce.SObject("Feedback__c"); fb.Name=...
2
votes
1answer
1k views

Overriding “View” button of the standard Quote object

After developing a page to override the default View button of the standard Quote object, I noticed this is one of the only object that do not allow this possibility (or the only one?). I'm not quite ...
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
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 ...
1
vote
1answer
421 views

Prepopulate values

I have custom button on Opportunity.On click of button I need to pre populate values on contract with values from oppty.Once Contract is saved I need to populate Contract lookup on Oppty with the ...
1
vote
2answers
1k views

How to add Flow-Specific CSS Classes?

I've just created a Visualforce page with an embedded flow. This is the code so far: <apex:page controller="FlowController" standardStylesheets="True" showHeader="False" sidebar="False"> <...
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"> &...
6
votes
1answer
1k views

which standard controller should be used to override Person account “New” and “Edit” Page using VF Page?

I am overriding person account standard Page with VF page. If I use standard controller as "Account" I am unable to get Picklist field values from "Person Account", If I use "Contact" as a Standard ...
1
vote
1answer
2k views

Prepopulate Name field with default value

I have a Publication object. Publications might have a very long names, longer than 80 characters. That is why Name is suppose to be populated from workflow field update, using substring from custom ...
1
vote
2answers
661 views

Issue with Overriding Opportunity View

There is an issue with overriding Opportunity view for some particular profile.Currently We are redirecting the profile users to a VF page by default. we have a button in our VF page, which takes the ...
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 ...
5
votes
2answers
2k views

Adding validation rule to Close Case standard button

I have a requirement where a user should not be able to close a case if the case owner is a queue. For that I have added a validation rule which goes like this BEGINS(OwnerId, "00G")&&...
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 ...
2
votes
1answer
833 views

How to Override Opportunity View Link with a VF page for a certain profile?

I have a requirement where I need to override the Opportunity view and to redirect the user of a certain profile to a VF page instead of standard detail page. I tried something like this: Created a ...
2
votes
1answer
429 views

How to override a standard link in Salesforce

i have to override a standard link in Home Page layout .My screenshot of Home page layout is i want to open my visualforce page when user click on link on left bottom Approve/Reject link.How to ...
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 ...
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 ...
1
vote
1answer
694 views

Override New Button, Prompt User with Recent Records Related to Lookup on the Object, Auto-Populate Lookup

I have a Custom Object 'A' with a Look-up to another Object 'B'. Users Interact primarily with object A. I would like to use List Views as a method simplifying the standard SFDC related list concept (...
5
votes
2answers
2k views

Use one VisualforcePage for multiple overrides

I'm using a VF page as a "dispatcher" to display different pages based on an object recordtype. <!-- OverrideCaseView If Case is a XXXX, show in the XXXXX user interface Otherwise, show ...