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
Vinod TomarVinod Tomar 

Remove VF Page Access Error message on Standard Page

We have 1 VF page. We have added link of this VF page from standard page layout. We have provided access of this VF page to some selected profiles. Rest of the profiles can not access the VF page  but they see the below error message on Standard page-

 

"Content can not be displayed: You have insufficient privileges to access the page"

 

Can somebody help us how to remove this error for the users who do not have access to VF page. We can create new page layout but we don't want to create this because we have plenty of page layout in our org.

anshuanshu

I think the best way is to make different page layouts.

Vinod TomarVinod Tomar

We can create different page layout but we dont want to create the page layouts because we already have plenty of layouts.