Platform Cache
To improve performance, Salesforce's Platform Cache temporarily stores commonly accessed data, such as translations, picklist values, and file renditions, for applications. Platform Cache entries have a 48-hour time to live (TTL). You can use Platform Cache partitions to distribute storage space across applications, including Medical Information Cloud Content Management.
Medical Information Cloud Content Management has three platform cache partitions:
mcmDefault - caches general items like picklist values and layouts.
mcmSearch - powers Medical Information Cloud Content Management's content search API.
metadataAPI - caches Task metadata that is used to build a Task layout.
For more information, visit Salesforce's Cache Lightning Platform Data documentation.
metadataAPI partition
The metadataAPI partition must have at least 1MB of organization storage capacity allocated to it and must be updated every hour. To update the partition every hour, execute this code in the Anonymous Apex:
System.schedule('CM_Cache_Task_Metadata_Job', '0 0 * * * ?', new mvn.CM_CacheSObjectMetadataSchedulable('Task'));
In addition to updating the cache every hour, Komodo Health recommends manually clearing the metadataAPI
partition when any of these conditions are met:
Task or Activity metadata is updated (e.g. a new field is created/updated, a Task record type is updated, and/or picklist values are updated).
Any global value set referenced by the Task/Activity is updated.
The Medical Information Cloud product is upgraded.
Clear cache partition
To clear a partition manually:
In the Quick Find box in Setup, search for and select Platform Cache.
Click the Name of the Platform Cache Partition that you want to clear.
Click Clear Cache.