I am new to Salesforce and came up with a problem regarding the account page layout

On the account detail we have the account type based on : client, supplier and customer.

When it comes for the supplier we have a section called Supplier with custom fields enabled. The same goes for the rest of the types. Our problem is that depending on the account type we would like these sections to hide/unhide.

Any suggestions will be helpful. Thank you in advance.

1 Answer 1


You can create 3 record types: Client, Supplier, Customer. Based on the selection made, you can set the picklist value. Then, you can create 3 pagelayouts and assign them to respective record types.

  • Hello Shailesh, Jan 13, 2015 at 9:11
  • Thank you for your comment. This works perfect when creating new accounts. What about my existing ones? Is there any way to do it for them as well? Jan 13, 2015 at 9:14
  • If you are using standard salesforce detail page(Not VF): You have to extract the existing account records in a CSV file. Based on the picklist value, you have to add the recordtypeID against the record. And then update the records with the recordtypeIDs. If you are using the VF page, you can make use of javascript. Jan 13, 2015 at 9:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .