Friday, May 18, 2012

Users can't access Visualforce pages?

Posted in [Salesforce.com], [Technical] By Amber Butler @ 4/17/2009 1:47 PM

A coworker came to me yesterday with a frustrating question - why can't non-system adminstrator users see a new Visualforce page that had just been created? Instead they see the "Insufficient Privileges" error. I remembered struggling with the exact same problem when I first started working with Visualforce. The answer is available in the Visualforce discussion boards, but is difficult to find. So, here is a quick summary:

Access to Visualforce pages and Apex classes is determined by user profile. There are two ways to change the access levels.

1 - To view or change the access levels for a single profile, go to the view screen of the profile and scroll down to find the following two related lists: Enable Apex Class Access and Enable Visualforce Page Access.

2 - Or, set the access level for multiple profiles by going to the Apex class and Visualforce page lists in Setup. Click the Security link beside each class or page name and select the profiles that need access.

 

Comments

Got something to say? Join the discussion »

leave a reply

 [Quick Submit with Ctrl+Enter]

Remember my details
Notify me of followup comments via e-mail

C5_Insight

About C5 Insight

We are a Microsoft Gold Certified partner focusing on SharePoint, Microsoft Dynamics CRM and Salesforce.com.  Learn more about us by visiting our website.

Search

We Wrote the Bible on Microsoft SharePoint and Dynamics CRMBook-Microsoft Dynamics CRM 2011 and SharePoint 2010 Bible

Tags

Maximize

Recent Comments

Maximize

Blog Roll

Maximize

Disclaimer

The information herein may be used solely at your own risk.  No warranty is made by the author or by C5 Insight, Inc.

The opinons expressed herein are those of the individual authors and do not necessarily represent C5 Insight, Inc in any way.

Copyright 2011 by C5 Insight