Simulation of the Xcelsius Local Scenario Button in SAP Design Studio:
When some of our clients decided to switch to SAP Design Studio, we had to recreate their Xcelsius dashboards. One feature we really missed having, was the Local Scenario button in Xcelsius. Thankfully, the new Bookmarks and Personalization feature in DS 1.3 came in handy.
This is how we used the two new features to simulate the functionality of the Local Scenario button. In Xcelsius, this button has options to Save, Load, Delete & Set Default. In SAP Design Studio, Save, Load and Delete can be achieved using the Bookmarking feature and Set Default can be achieved using Personalization. The image below shows the code for each.
One value addition to this is to save bookmarks with the name of the item(s) selected by the user in a related selector(s). This will help the user relate the bookmark to the scenario. This will come in handy when there are multiple bookmarks saved and the scenario relates to user selected values in multiple selectors. Also, since the bookmark is saved automatically with that name, the user is not required to type the value of the selection or give another name while saving the bookmark.
The code below shows how the bookmark is saved with a name based on user selection in the two selectors.