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

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.





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


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 -