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
sarvesh001sarvesh001 

How to restrict Clone Button for profile wise

Hi, 
I want to restrict clone button for profilr wise. I can do it by using pagelayout but i want to restrict based on profiles how can i  do it.

Can any one help me out for this.
Thanks,
Sarvesh.
Chidambar ReddyChidambar Reddy
Hi Sarvesh,

you can't do it with standard layouts based on profiles

because you can only modify CRUD permissions from profile, clone button is available (if added to the layout) if the profile has atleast create permission


the better option is using pagelayouts compared to using visualforce pages

thanks
I hope it helps