Understanding Isolated Storage
Isolated Storage is key-value-based storage that provides data isolation between extensions. Isolated Storage can be used to store data that must be preserved inside the extension scope, and this data is accessible via AL code. The DataScope
option type identifies the scope of stored data in Isolated Storage.DataScope
is an optional parameter, and the default value is Module
. All possible values are listed in the following table:
Member | Description |
Module |
It indicates that the record is available in the scope of the app context. |
Company |
It indicates that the record is available in the scope of the company within the app context. |
User |
It indicates that the record is available for a user within the app context. |
CompanyAndUser |
It indicates that the record is available for a user and specific company within the app context. |
To manage data in Isolated Storage, you have the following methods:
Method | Description |
[Ok := ] IsolatedStorage. Set... |