Loading

How to Enable Visualforce Page Access by Profile in Salesforce

Publiceringsdatum: Jun 22, 2026
Beskrivning

In Salesforce, access to Visualforce pages is controlled by user profiles. By default, custom Visualforce pages are not accessible to all profiles. If users receive an "Insufficient Privileges" error or cannot navigate to a Visualforce page, the page has not been enabled for their profile. An administrator must explicitly add the Visualforce page to the list of enabled pages for each profile that requires access.

Lösning

 

In Lightning Experience

  1. Go to Setup > Administration > Users > Profiles.
  2. Click the Profile Name you want to update.
  3. Scroll down to the Enabled Visualforce Page Access related list and click Edit.
  4. Move the desired Visualforce pages from Available Visualforce Pages to Enabled Visualforce Pages.
  5. Click Save.

In Salesforce Classic — Enhanced Profile User Interface

  1. Go to Setup > Administer > Manage Users > Profiles.
  2. Click the Profile Name you want to edit.
  3. Under the Apps section, click Visualforce Page Access and click Edit.
  4. Add the desired Visualforce pages to the Enabled Visualforce Pages list.
  5. Click Save.

In Salesforce Classic — Non-Enhanced Profile User Interface

  1. Go to Setup > Administer > Manage Users > Profiles.
  2. Click the Profile Name.
  3. Scroll to the bottom of the profile page and click Edit next to Enabled Visualforce Page Access.
  4. Add the desired Visualforce pages to the enabled list.
  5. Click Save.

Tip: To grant Visualforce page access to multiple profiles without editing each profile individually, consider using Permission Sets instead.

 

Knowledge-artikelnummer

000385350

 
Laddar
Salesforce Help | Article