Skip to main content
David Young ha fatto una domanda in #Customer Service
I am trying to override the standard button for view on a case with a visualforce page. I can't see it in the list. I am using the standardcontroller="Case" and even created an extension just to see if that was the problem. I can see other VF pages but not the one I created. I can see the visualforce page if I override it with the list or tab button. I will eventually override the view for only portal users.

 

Here is my simple VF page

 

<apex:page standardcontroller="Case" extensions="caseExtension" showHeader="false"   >

  <h1>Cases</h1>

  This is your new Page

  <!-- End Default Content REMOVE THIS -->

  <apex:form >

 

  </apex:form>

</apex:page>

 

Here is my extension

 

public class caseExtension{

 

 public ApexPages.StandardSetController stdCntrlr {get; set;}

 

 public caseExtension(ApexPages.StandardSetController controller) {

 

        stdCntrlr = controller;

 

    }

 

               

 

}

 

Help!? I can't see what I'm missing.

 

David
4 risposte
  1. 14 feb 2013, 03:51
    Hi,

     

    I just tried with ur source code, (without extension, it doesnot matter though).

     

    I am able to see the page appearing in View-> Edit button.

     

    Let me brief the steps I have done.

     

    1. Created a new visual force page, with the source code you provided.(I removed the extension).

     

    2. Saved the vf page(say with name custom view)

     

    3. went to setup-> customize-> cases->buttons & links and 

     

                Clicked Edit next to View.

     

    4. I am able to see the CustomView page appearing in the list.

     

    Please let me know if you need to see a demo, I am willing in to help.

     

    Thanks
0/9000