function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Andy Freeston_LarterAndy Freeston_Larter 

Getting the last update time for metadata records


I plan on using the new custom metadata types to define settings for configuring my application. Since my application is complex and requires lots of settings I would like to cache the settings on the client and invalidate the cache if the settings have changed. To detect changes to the metadata I would like to get the last modified date/time for each record.

Is it possible to retrieve the date/time from a metadata record? It doesn't seem to contain a LastModifiedDate field like regular objects.


- Andy