Skip to main content
2 respostas
  1. 18 de ago. de 2015, 11:17
    I have created 2 visual force pages. I want to display these based on Record types. I have 18 digit record type id for this. But it showing 2 pages one after other every time of record type selcetion.

    <apex:page standardController="Opportunity" >

    <apex:outputPanel rendered="{!IF(Opportunity.RecordTypeId!='012400000009mCCAAY',true,false)}">

    <apex:include pageName="OppVfPage" />

    </apex:outputPanel>

    <apex:outputPanel rendered="{!IF(Opportunity.RecordTypeId!='01240000000UWKDAA4',true,false)}">

    <apex:include pageName="LostReason" />

    </apex:outputPanel>

    </apex:page>
0/9000