setTectonCacheObject

Updated:

Provides the ability to cache objects in the platform application's session cache.

Description

setTectonCacheObject provides the ability to cache objects in the platform from an extension module's frontend. Data is retrieved from the cache using getTectonCacheObject. Cache is automatically cleared upon logout, session timeout, or the window/browser tab closing.

Signature

tecton.sources.setTectonCacheObject(key: string, data: object): Promise<void>;

Usage

Caching an object in the platform cache.

await tecton.sources.setTectonCacheObject('MyCacheKey', {
    'account': 0000,
    'amount': 1234,
    'type': 'checking'
});

Parameters

key
data

Platform Support

UUX

Changelog

The changelog provides a detailed history of new features, improvements, and bug fixes going back to Tecton 1.30.0. If the button is disabled, it indicates there have been no detectable changes since then.

Show changelog (0)