ServiceMax Cache
SFM Lightning Delivery
SFM Delivery engine caches the SFM transaction definition details at the browser level on the initial load of an SFM transaction. The information cached includes SFM page layout details, objects, field labels, custom labels, and picklist values. The cache helps the SFM Delivery screens to run faster as they can store reusable data in memory.
You can clear the cache using the following methods:
• Manually Clearing Cache
• Automatically Clearing Cache
| Note: For any change in the SFM transaction definition, the cache is automatically refreshed on launching the SFM delivery screen. |
Manually Clearing Cache
Click the Clear ServiceMax Cache button in the top right corner of the SFM Delivery screen to refresh the cache manually. Any changes such as object or field definition, permission, and latest updates to the SFM Transactions are refreshed and the updates are visible on the delivery page.
Automatically Clearing Cache
An admin must perform the following to automatically clear the cache for all users on the launch of the SFM Delivery screen:
1. Perform the required metadata changes in the org.
2. Update the value of the Global setting SET006 (Module: SFM Transaction Manager, Sub Module: SFM Transaction Delivery Engine) to the latest DateTime. The local cache is updated with the latest metadata when the SFM delivery page loads for the first time after saving the setting.
| • Saving the setting with any DateTime indicates that the cache needs to be automatically cleared. • The value on SET006 does not indicate that the cache is cleared after the entered DateTime value. It is recommended to set the value of SET006 to the latest DateTime so that the admin is aware of the last instance of the auto clear of ServiceMax Cache. |
Classic Theme
This feature is not available in the classic theme.
Lightning Theme
SFM Delivery engine caches the SFM transaction definition details at the browser level on the initial load of an SFM transaction. The information cached includes SFM page layout details, objects, field labels, custom labels, and picklist values. The cache helps the SFM Delivery screens to run faster because they can store reusable data in memory.
| Note: For any change in the SFM transaction definition, the cache is automatically refreshed on the launch of the SFM delivery screen. |
Manual Clear Cache Action
To manually refresh the cache, click the Clear ServiceMax Cache icon in the top right corner of the SFM Delivery screen. Any changes such as object/field definition, permission, and latest updates to the SFM Transactions are refreshed and the updates are visible on the delivery page.
Automate clearing of ServiceMax Cache
Admin initiates auto clearing of cache on launch of SFM Delivery screen using org-level setting SET 006 (Module: SFM Transaction Manager, Sub Module: SFM Transaction Delivery Engine). If there are any changes in the metadata, the admin updates the value (DateTime) of the setting (SET 006) with the latest DateTime. As a result, the local cache is updated with the latest metadata on loading the delivery pages.