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.

Navatar_DbSupNavatar_DbSup

Hi,

 

Check objects permission which you are tries to access in the VF page and In that profile where you are accessing the VF page.

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 

 

Vinod TomarVinod Tomar

Thanks for your response. Revanue Schedule object is not available under Objects and Tab page of profiles so cant uncheck the permissions.