You need to sign in to do that
Don't have an account?

Need Help urgent VF page is not coming in Override option of Standard Button
I am not geeting the Visual force page in to override with List of an Custom object. I Changed my VF page like this
<apex:page standardController="Case_Accession__c" extensions="ExtentionController">
...................My Code..............................
</apex:page>
What I am doing wrong ??
Regards
Raman
On which object you want to override standard Button?
Case_Accession__c only, but I try with other objects also I am not getting the page anywhere ????
it will display only under the buttons of "Case_Accession__c" object not any other object's button.
have your page properly save?
Hello,
remove standard controller from the page and check you will get it.
Instead of extensions you will have to use Controller class
Yes I am trying in 'Case_Accesion__c" only, but no success.
And what is mean by Page property saved ??
Page property save means your Visualforce page has been saved successfully or not?
Yes Its saved Hitesh
No Neha !! I guess you did not get my requirment . In Sales force doc also its mentioned that we need to use Standard Controller If we want to override the functionality of any button ..
Regards
Raman
Just give this a try
Create a VF page
<apex:page>
</apex:page> with name 'TestStandard'
and on overridding you will find this in drop down, I have faced this issue
To overcome this what you should do is
create a page with the name, once it is overridden you can replace the code what you have right now.
It will help you.
Ya I create another page and that is coming in the iverride option, now I am loading my required page in that page... But this is not the good way any how many pbm is solved ...... Can you please suggest why its behaving like this
<apex:page standardController="Case_Accession__c" extensions="ExtentionController1" action="{!pageredir}" >
<apex:form >
<apex:pageBlock >
<!-- Begin Default Content REMOVE THIS -->
<h1>Congratulations</h1>
This is your new Page
<!-- End Default Content REMOVE THIS -->
</apex:pageBlock>
</apex:form>
</apex:page>
--------------------------
public class ExtentionController1
{
public ExtentionController1(ApexPages.StandardController controller)
{}
public Pagereference pageredir()
{
Pagereference newpage =Page.Accession;
return newpage;
}
}
See in red I am loading Accesion page on Case Populate load which was my requirment,, but I am not getting directly Accession on the override option of Case__Accession__c object..
Regards
Raman
Can you post the "Accession" page code /?