+ Start a Discussion
AshlekhAshlekh 

How achieve the below case scenario?

Hi All,

I've Scenario and I need a good way to achieve this.

Scenario - When the value of Stage field on Opportunity is 'Open' then need to show Standard Layout of opportunity, and if the value of stage is Closed then need to show custom Visual force page.

I know one approch - Which is below, if there is any other then please let me know.

Approch - Create Custom VFP and override the Standard View button. In the controller of this VFP page will check the value of Stage. If the value is Open then redirect to "http://Instance url/id?nooverride=1" url else stay on custom visual force page for Closed Stage.

Let me know if there is any other approach.

-Thanks
@Karanraj@Karanraj
That's one of the best and easiest approach for the scenario, you can go with it.