App Status Management

In map.apps SDI it is possible to save, load and share app states.

All services and layers, the visibility of services and layers, the background services, the SRS and scale are saved and can be shared via link or load again.

The transparency and order of services and layers are also saved but other additional functions or elements (like chosen SLDs) are not saved.

This bundle is not compatible with the map.apps parametermanager bundle. Please make sure that the parametermanager and the sdi_appstatemanagement bundles are not present in the same app at the same time. Note that some bundles, like the parameter-url bundle, depend on the parametermanager bundle and cause it to be started in the app without explicitly mentioning it in the app’s allowedBundles list. Therefore, exclude all bundles that depend on the parametermanager bundle, too.

It is required to use always specific IDs (id property) for service or layer configurations in your app.json so that all supported aspects of services or layers can be saved properly. Otherwise, dynamic IDs will be generated that vary with every app start. These dynamic IDs do not work properly in combination with app states.

To use this bundle the mapapps application.properties must be changed:

savestate.service.url=http://yourserver:port/ct-savestate-version/resources/appstates

Restricting the visibility of app states

Access to app states can be restricted to personal use only or dedicated user roles. Users can restrict an app state’s visibility to their own roles. If an app state is visible for multiple roles, all users possessing at least one of those roles are allowed to load that app state. Users that are not logged in can only create public app states. These can be updated and deleted by all other users of that app. An admin user can see, update or delete every application state - independent of app and restricted visibility.

Restricting the visibility of app states requires a security configuration. See Security Configuration for more details.

restrictions
In the app the sdi_appstatemanagement bundle has to be used. The sdi_appstatemanagerintegration bundle can only be used for integration into the manager, it can’t be used in a map.apps app.