You need to sign in to do that
Don't have an account?
Srikanth Cheera 16
Vf page Open?
If i click on new Button this page should be open?
what is the process.
<apex:page standardController="Order">
<apex:form>
<apex:pageBlock title="OrderEdit">
<apex:pageBlockButtons location="Top">
<apex:commandButton value="Save" action="{!save}"/>
<apex:commandButton value="Delete" action="{!Delete}"/>
</apex:pageBlockButtons>
<apex:pageBlockSection title="Order Information">
<apex:inputField value="{!order.name}"/>
<apex:inputField value="{!order.AccountId}"/>
<apex:inputField value="{!order.ContractId}"/>
<apex:inputField value="{!order.Status}"/>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
what is the process.
<apex:page standardController="Order">
<apex:form>
<apex:pageBlock title="OrderEdit">
<apex:pageBlockButtons location="Top">
<apex:commandButton value="Save" action="{!save}"/>
<apex:commandButton value="Delete" action="{!Delete}"/>
</apex:pageBlockButtons>
<apex:pageBlockSection title="Order Information">
<apex:inputField value="{!order.name}"/>
<apex:inputField value="{!order.AccountId}"/>
<apex:inputField value="{!order.ContractId}"/>
<apex:inputField value="{!order.Status}"/>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks and Regards,
P.sai Mahesh
In the Standard Buttons and Links related list, click Override next to the name of the button you want to change.
Select Visualforce Page as the content type.
Select a Visualforce page from the content name drop-down list. Only Visualforce pages that use the standard controller for the object on which the button
Refer this link
https://developer.secure.force.com/cookbook/recipe/overriding-a-standard-button