function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
krish4ukrish4u 

Record types with different pages

Hi Folks,

 

I created two record types, custom page for one record type and standard page for another record type. how to write code for setting this pages with different pagelayouts. Functionality is different for two pages.

 

thanks,

krish

phantom1982phantom1982

I believe you can do this with workflows.. unless the requirement is to code it.

forecast_is_cloudyforecast_is_cloudy

I'm not sure if I completely follow your use case, but if you want to find a way to display the standard Page Layout to one set of Users and a custom VF page to another set of users, you can look at the following recipe - http://developer.force.com/cookbook/recipe/overriding-a-page-for-some-but-not-all-users