Edit User Profiles to Enable OmniAnalytics Access (Managed Package)

For the managed package runtime, in the Salesforce Winter '21 release, a critical update enforces user profile restrictions for Apex classes that Aura and Lightning Web Components use. To configure OmniAnalytics, users must have permission in their profiles or permission sets to access the FetchStaticResourceUrl and OmniAnalyticsController Apex classes.

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

  1. Go to Setup.
    • In Lightning Experience, click the gear icon and select Setup from the menu.

    • In Salesforce Classic, click the user menu and select Setup from the menu.

  2. In the Quick Find field, enter profiles, then click Profiles.
  3. Click the name of a profile for OmniAnalytics users.
  4. On the profile page, click the Enabled Apex Class Access link.
  5. Click Edit.
  6. From the Available Apex Classes list, select the FetchStaticResourceUrl class.
  7. To move the class to the Enabled Apex Classes list, click the Add button.
  8. From the Available Apex Classes list, select the OmniAnalyticsController class.
  9. To move the class to the Enabled Apex Classes list, click the Add button.
  10. Click Save.
  11. Repeat steps 3 through 10 for each profile for OmniAnalytics users.

What’s next: