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
Praveen NPraveen N 

Assigning different pagelayouts when click on custom button

Hi All,

 

i have two pagelayouts on task object(one is standard and one custom). both has different fields. i have created a custom button. when i click on this button it should go to the custom pagelayout.

any idea please?

thanks in advance.

 

praveen

Jeff MayJeff May

Your button can set the Record Type of the Task and the Page Layout associated with that Record Type will be used.

Praveen NPraveen N

Hi jeffM,

 

could you please tell how to set recordtype and pagelayout  in a custom button.

 

Thanks

Praveen