I have a requirement where I have to display two different Page layouts of Contact depending on a field's Picklist Value. Contact will always be created by a System Administrator so I cant assign different page layouts to different Roles or Profiles. How to achieve the same.? Thanks in advance
1
-
1If I have understood correctly, you are looking for Record Types. Have a look at help.salesforce.com/… – highfive Sep 10 '14 at 10:45
Add a comment
|
All you need to have is differenet recordtypes for different picklist values and then from Page layout assignment add page layouts to the profiles and recordtypes
-
Could you please help me with the same. Records will always be created with System Admin profile, so I cant add differnt page layouts to different profiles. – Salesforce Learner Sep 10 '14 at 16:43
-
it doesn't matter which profile is creating the records. In that custom object definition, just create 2 recordtypes each for the selected picklist values. And then from pagelayout assignment you can assign in this way: Profile1->rectype1->pagelayout1. Recordtype here is working as a bridge between Profile and picklist selection – Testing_SFDC Sep 10 '14 at 17:32