For embedding SAP Lumira Cloud visualization and exploration continue reading this blog. With SAP Lumira Cloud you have the ability to get an embeddable URL for a SAP Lumira Cloud visualization. This URL can be embedded into webpages or used to share as a direct link to a particular visualization. Note that users can only view a visulization link if they have access to SAP Lumira Cloud. If they are not already logged on, then the users will be prompted for credentials. Viewers of the link also have to have view rights on the visualization, which means it has to be shared with them via the regular sharing mechanism in SAP Lumira Cloud.
In order to retrieve the visualization URL navigate to the Info via the options menu.
The Info dialog will appear, which now includes a direct URL link to the visualization. The Link can be embedded in a web application, pasted into the browser or used as a bookmark for easy access to the vizulization. Note, that datasets cannot be shared or embedded using a URL and hence do not have a link in the Info dialog.
Below you can see how I embedded a visualization as an iframe into my google homepage simply by adding the URL that I retrieved from SAP Lumira Cloud.
SAP Lumira Cloud also provides a few optional parameters that can be appended to the URL. For example one can determine whether the viewer of the visualization should be able to edit and save the visualization or not. The table below describes these
|view or explore
If view is selected, the visualization is displayed without the data panel or visualization panel. If explore is selected, the visualization panel and data panel are displayed, so that the visualization can be modified. By default, view mode is selected.
||true or false
If true is selected, the title bar is displayed. If false is selected, the title bar is hidden. By default, false is selected.
Note: Saving visualization is not possible if the title bar is hidden.
||true or false
If true is selected, the save button appears and modifications to the visualization can be saved. If false is selected, the save button is hidden. By default, false is selected.
Note: This parameter only applicable if the title bar is displayed.
These options can be appended to the URL using the following syntax: &<parmeter>=<value>
For example, if I wanted to show the title of the visualization as well as allow users to explore, modify and save the visualization
then I can add &mode=explore&titlebar=true&edit=true at the end of the URL. Below you can see how these options look like in my google homepage.