Enable Data Change Insights and Use Related APIs

As a story designer, you can enable Data Change Insights for a story and its specific charts. As a developer, you can use the related technical object and APIs to allow for more activities, such as saving a snapshot to capture any state of the story for data comparison.

If you're a viewer, for more information about Data Change Insights, see Subscribe to and View Data Change Insights.

Enable Data Change Insights

From File in the edit time toolbar, select (Story Settings)Start of the navigation path Next navigation step End of the navigation pathStory Details.

Then, switch on Enable Data Change Insights.

To enable data change insights for an individual chart in the story, in its Styling panel select Data Change Insights under Quick Menus. In view time Data Change Insights will then be available in the chart's context menu for viewers to select the subscription mode.

Add a Data Change Insights Technical Object and Use Script APIs

You can add a Data Change Insights technical object and use related APIs to allow for more functionalities.

Procedure

  1. To add a Data Change Insights technical object, in the Scripting section of the Outline panel, choose Start of the navigation path Next navigation step End of the navigation path Data Change Insights.

    The side panel opens with the default ID DataChangeInsights_1. You can change the ID here.

  2. Select a version type of the Data Change Insights technical object:
    • Auto Saved File Version (Default): The version of the Data Change Insights technical object uses the timestamp when the story is saved.

    • Manually Defined Version: Enter an integer for the version of the Data Change Insights technical object.

    If you change the version number or version type, the previous snapshots of stories for data comparison become invalid.

  3. Select Done.
  4. You can use APIs related to Data Change Insights to allow for more functionalities in view time.

    For more information about the APIs, see Story Experience API Reference.

Configure Storage of Data Change Insights Snapshots

By default, data change insights snapshots are saved on the current SAP Analytics Cloud tenant. You can also save them in a remote data repository by configuring the storage in the Data Change Insights Snapshots section in Start of the navigation pathSystem Next navigation step Administration Next navigation step Data Source ConfigurationEnd of the navigation path.
Choose a configured data repository.