CacheService type

Important

The finance and operations (Dynamics 365) mobile app and platform are no longer supported. The platform components supporting the mobile app will be removed in a future update. The mobile app has also been removed from app stores. Previously installed instances of the app will continue to work. For more information, see Removed or deprecated platform features.

Provides ability to access data from the device cache and update data into the device cache.

Hierarchy

CacheService

Index

Methods

Methods

getData

getData(cacheKey: string): any

Parameters

Name Type Description
cacheKey string

Returns any

setData

setData(cacheKey: string, data: any): any

Parameters

Name Type Description
cacheKey string
data any

Returns any