How to allow user access to RV Apex Classes

Last published at: 2022-10-21 22:03:38 UTC
Delete

For Record Validation to work correctly, grant your users access to all RV Apex classes. There are two possible ways to go about this. Either allow access to certain user profiles, or assign the RV permission set to individual users.

The advantage of using the Permission Set is that RV can update the set externally. Therefore you don't need to make any changes after future updates where new classes might be introduced. If you don't want your users to access certain RV pages, for example, RV Setup, choose the User Profile option. You can then manually decide which pages your user can access by choosing the right Visualforce Pages.

Option 1: Allow access to a user profile

Step 1 Enable Enhanced Profile User Interface to view all RV Apex classes

  1. Navigate to Salesforce Setup.
  2. Navigate to Users > User Management Settings.
  3. Enable 'Enhanced Profile User Interface'.

Step 2 Enable all RV Apex classes

  1. Navigate to Salesforce Setup.
  2. Navigate to Users > Profiles.
  3. Find the profile you want to modify and click on the profile's name.
  4. At the profile overview, navigate to Apex Class Access.
  5. At the top of the page, click Edit.
  6. At Available Apex Classes, move every Apex Class that starts with 'recordval.' to Enabled Apex Classes.
  7. Click Save.

Option 2: Allow access to a user using our Permission Set

  1. Navigate to Salesforce Setup.
  2. Navigate to Users > Permission Sets.
  3. Click 'rvpermission'.
  4. At the top, click 'Manage Assignments'.
  5. Click 'Add Assignments'.
  6. Select the users you want to assign the permission set to.
  7. Click 'Assign'.