Managing JSON Storage¶
Enable and manage persistent JSON storage for the selected application.
The application configuration that comes with an app downloaded from a global app store, is written to an application-level storage service during onboarding. In a similar fashion, user- and device-level configuration information is written to separate storage services during onboarding. The administrator can manage the storage services from the cockpit, which includes assigning read and write roles for the application storage, and customizing JSON storage code.
-
In SAP mobile service cockpit, select Mobile Applications > Native/
MDK
. -
Select an application, and then Mobile Settings Exchange under Assigned Features. Navigate to the JSON Storage tab.
Under Storage Level you can view three levels of storage in a tree format ‒ application, user, and device.
Application Level User Level Device Level Device Level User Level Device Level User Level Device Level Device Level Device Level
When you select a tree node, the storage JSON appears in the JSON Editor to the right. Keep in mind:
-
The tree only lists users that use JSON storage, or that have one or more registered devices that use JSON storage.
-
The tree lists all user devices, whether the device has storage JSON.
-
-
(Optional) Under Storage Level, use the filters to adjust the storage entries you see for the application. You can limit or expand the number of entries to retrieve, search for a user by name, or search the tree for a specific value. You can expand or collapse the tree of storage entries.
-
Select a level in the tree to manage storage for the application.
Storage Service Description Application Level View and modify application-level storage. User Level View and modify user-level storage. Device Level View and modify device-level storage. -
(Optional) Select an Application Level object to manage the storage service at the application-level. The application ID appears, as well as a Role Definition section.
-
For each JSON Object level, assign the read and write roles required. Enter one role name at a time followed by Enter to create a list of roles.
-
In JSON Editor you can preview code in JSON format, or modify the JSON format for customized properties. Use Beautify to format code, and Full Preview to view the full application level JSON storage for customized properties.
-
-
(Optional) Select a User Level object to manage storage service at the user-level. The user ID appears.
In JSON Editor you can preview code in JSON format, or modify the JSON format. Use Beautify to format code, and Full Preview to view the full user level JSON. The full JSON is a combination of user level and application level JSON.
-
(Optional) Select a Device Level object to manage the storage service at the device-level. The device ID appears.
In JSON Editor you can preview code in JSON format, or modify the JSON format. Use Beautify to format code, and Full Preview to view the full device level JSON. The JSON is a combination of device level, user level, and application level JSON.
-
(Optional) Select an object, and click to remove it.
-
Click Save at any time to save your changes, or Reset to discard all unsaved changes.