SDI sharelink

The bundle provides a widget used to share saved app states using a generated ID. In contrast to the map.apps share-link bundle, where the complete app state is encoded in the URL, the sdi_share-link bundle saves the current state of the app in the database and references the ID. This bundle depends on the sdi_appstatemanagementshared bundle. That bundle will be started with the app automatically.

Usage

Special configuration is not required.

This bundle provides a tool with the ID sdi_sharelinkTool to open the sharing dialog window. You can use that ID to add the tool to a toolset. The widgetRole of the link sharing dialog is sdi_sharelink.

Support for Web Share API

The web share API defines a simple protocol to share links. If the browser supports this API , the layout switches from a copy link to a share link semantic and the native sharing functionality (of the mobile device) is used.

For a possible solution for desktop browsers see the share-link-shim bundle.