Use Undo and Redo APIs on Versions

You can use the undo or redo API for to undo or redo data changes to a specific version.

Before You Start

Before using the undo or redo API, make sure that you've checked the following:

  • You've created a story that contains a table and SAP Analytics Cloud planning model.

  • You've assigned the planning model to the table.

  • You've made up your mind on how to visualize or expose the undo or redo API to the viewers. For example, you may want them to click on a button to undo changes to a version.

Script Examples

The following script examples show how to undo and redo changes to an actual version: