0

enter image description here

vf page is not showing in button link and action

my vf page code ******

<apex:page standardController="QuickCase__c" extensions="quicksls" action="{!init}">
<apex:form >
<apex:pageBlock >
    <apex:outputPanel id="dynamicTablePanel">
        <apex:pageBlockTable id="dynamicTable" value="{!qs}" var="ac" columns="4">
            <apex:column headerValue="Name" >
                <apex:outputField value="{!ac.Name}" />
            </apex:column>
           <apex:column headerValue="Result" >
               <apex:outputField value="{!ac.Case_Result__c}" rendered="{!ac.Case_Result__c =='Completed'}" />
           </apex:column>
           <apex:column headerValue="Result" >
               <apex:outputField value="{!ac.Case_Result__c}" rendered="{!ac.Case_Result__c =='Pending'}" />
           </apex:column>
             <apex:column headerValue="Result" >
               <apex:outputField value="{!ac.Case_Result__c}" rendered="{!ac.Case_Result__c =='Running'}" />
           </apex:column>
        </apex:pageBlockTable>
    </apex:outputPanel>
</apex:pageBlock>
</apex:form>
</apex:page>
  • What does this question have to do with the Salesforce1 App or Salesforce2Salesforce connector? – Adrian Larson Jun 9 '17 at 18:12
0

Visualforce will show up if you define <apex:page> with standardController, for which you are overriding.

Let's say, if you override a Edit button with VFP then create a VFP with

<apex:page standardController="Case">
  • /*my demo code*/ <apex:page standardController="QuickCase__c" extensions="quicksls" action="{!init}"> <apex:form > <apex:pageBlock > <apex:outputPanel id="dynamicTablePanel"> <apex:pageBlockTable id="dynamicTable" value="{!qs}" var="ac" <apex:column headerValue="Result" > – Niranjan kumar Jun 9 '17 at 17:08
  • 1
    New button for which object? – Santanu Boral Jun 9 '17 at 17:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.