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

different record type different page layout?
I'm trying to create a different case page layout for different record types in the service console.
For example:
I have one record type that has multiple job types. I'd like to see a picklist for job types on the page layout but not for the other record types.
This doesn't work.
<apex:inputfield value="{!IF(Case.RecordType=='IT Services','Case.Job_Type__c','null')}"/>
Can anyone help? or let me know if this is possible?
Use rendered attribute
<apex:inputfield value="{!Case.Job_Type__c}" rendered="{!Case.RecordType.Name=='IT Services'}"/>
All Answers
Use rendered attribute
<apex:inputfield value="{!Case.Job_Type__c}" rendered="{!Case.RecordType.Name=='IT Services'}"/>
This is awesome! I used RecordTypeID instead and it works!
Dont use hardcoded ids..