You need to sign in to do that
Don't have an account?
Anil Dutt
Create custom save button
Hi,
I want to add cutom buttons "Save" and "Save and Send" in a custom object
I added custom buttons in custom objetcs but not able to show these in Edit Page Layout
How can i accomplish this, please advice
Thanks
I suspect this is because you are using a standard list controller (based on the recordSetVar attribute) - to override the edit button you must be using the regular standard controller AFAIK.
All Answers
Hi Anil,
It is correct that you can see only three buttons Save, Svave and New and Cancel on Edit page layout.
I think it is not possible to show the custom buttons on edit layout because every time our requirement is that if the page is in edit mode than we are not suppose to do anythink other than "Save", "Save and New" or "Cancel".
Thanks
Developer
Hi,
Create a custom Edit page.........here u can add buttons as per your need.
Hi,
i have created a vf page
<apex:page standardController="Itinerary__c" recordSetVar="Itinerary__c" tabStyle="Itinerary__c">
<apex:form >
<apex:pageBlock title="Itinerary Edit" mode="edit">
<apex:pageMessages />
<apex:pageBlockButtons location="top">
<apex:commandButton value="Save" action="{!save}"/>
<apex:commandButton value="Save and Send" action="{!save}"/>
<apex:commandButton value="Cancel" action="{!cancel}"/>
</apex:pageBlockButtons>
<apex:pageBlockTable value="{!selected}" var="opp">
<apex:column value="{!opp.Itinerary__c}"/>
<apex:column headerValue="Itinerary Name">
<apex:inputField value="{!opp.Itinerary__c}"/>
</apex:column>
</apex:pageBlockTable>
</apex:pageBlock>
</apex:form>
</apex:page>
but this page is not coming in "Override With" when trying to override Edit button
Any Idea?
I suspect this is because you are using a standard list controller (based on the recordSetVar attribute) - to override the edit button you must be using the regular standard controller AFAIK.
App Setup
Accounts
Buttons and Links
Standard Buttons and Links
Click on Edit in front of Edit
Override Properties
Override With---Visualforce Page
Save