Clear Cache Button for BusComps without a Cache Refresh Key

In this case, you must define a run-time event to refresh the cache.

To configure a new Clear Cache button for a business component without a cache refresh key defined

  1. Create a control in the desired applet where the method invoked is EventMethodCacheRefresh.

  2. Navigate to the Administration - Runtime Events screen, then the Action Sets view, and create a new record in the Action Sets list applet.

  3. Give the record a name, such as “Cache Refresh BC - Applet Name”.

  4. Create a new record in the middle list applet, with the following values:

    • Name is PSP Refresh

    • Action Type is BusService

  5. In the More Info form applet (at the end), enter the following values:

    • Business Service Name is Row Set Transformation Toolkit

    • Business Service Method is Refresh BC

    • Business Service Context is a list of business component names with commas as the separator, and with each business component name included in quotation marks

      Example:

      Business Service Context ="ProcessName", "PSP Refresh Cache On Cache Key - 
      Price List"
      
  6. Navigate to the Administration - Runtime Events screen, then the Events view, and create a new record with the following values:

    • Object Type is Applet

    • Object Name is the name of the applet referred to in Step 1

    • Event is InvokeMethod

    • Subevent is EventMethodCacheRefresh

    • Action Set Name is the name of the action set created in Step 2