1

I am trying to create 2 different Page Layouts depending on picklist.

For example.

1.If One value from that picklist is selected Active or Active with Dev. Work Only Then the section Publisher Journey should be displayed.(pagelayout 1)

2.If others than the previous are selected the Publisher Journeys section should be gone.(pagelayout 2)

Please advise how can i accomplish this.

Thanks,

Darko

1
  • By section display / gone, do you mean all this is happening on one page? and only part or section of the page is appearing/disappearing?
    – Mahmood
    Commented Dec 15, 2014 at 13:32

2 Answers 2

3

You will need to create two record types. Each record type can have it's own Page Layout. You should then create a workflow rule that changes the record type, and therefore the Page Layout, of the record depending on what Picklist Value is selected.

0
0

Based on information you provided I would say that you should go down the VF path. You will have to create a VF page or a VF Page component to be embedded in the page layout that would contain controlling picklist and dependent Publisher Journeys section.

I would advise against using record types unless above mentioned picklist values do indeed separate records in 2 different types. Otherwise record types should not be used as a means to make UI "dynamic".

2
  • this is good idea but it will take quite allot of time to build this and I am trying to find quick solution meanwhile :) Commented Dec 15, 2014 at 13:52
  • Sure, I understand the time pressure. I was simply approaching the problem from best-practice point of view.
    – IvanR
    Commented Dec 15, 2014 at 13:55

You must log in to answer this question.

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