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.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
-
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.
-
- In the Quick Find field, enter profiles, then click Profiles.
- Click the name of a profile for OmniAnalytics users.
- On the profile page, click the Enabled Apex Class Access link.
- Click Edit.
- From the Available Apex Classes list, select the FetchStaticResourceUrl class.
- To move the class to the Enabled Apex Classes list, click the Add button.
- From the Available Apex Classes list, select the OmniAnalyticsController class.
- To move the class to the Enabled Apex Classes list, click the Add button.
- Click Save.
- Repeat steps 3 through 10 for each profile for OmniAnalytics users.
What’s next:
- To give guest users read-only access to OmniAnalytics, see Edit Sharing Settings to Enable OmniAnalytics Access for Guest Users (Managed Package).
- After you have enabled OmniAnalytics access, see the Workflow to Configure Internal OmniAnalytics (Managed Package).