Enable the Cache Management Trigger
Enabling the CacheAPI.CacheManagement trigger is a prerequisite for using the Regenerate Cache APIs.
-
From Setup, in the Quick Find box enter
Custom Settings
. -
Click Custom Settings. The Custom Settings page appears.
-
Click T in the index across the top of the page and navigate to Trigger Setup.
-
Next to Trigger Setup, click Manage. The Custom Setting page for the Trigger Setup appears.
-
If the trigger doesn't exist, click New. If it does exist, click Edit beside the name. The Trigger Setup Edit page appears.
-
If you clicked New in the previous step, in the Name field, enter
CacheAPI.CacheManagement
. -
Make sure Trigger On is selected.
-
Click Save.