The ID of the dashboard being saved, for existing dashboards this is the ID used when loading it. For new dashboards or "save as" operation the value will be null. You should set the value of this property when "saving as" an existing dashboard or saving a new one before calling saveFinished, if not set it will be assumed to match the dashboard name.
The name of the dashboard being saved, that could have been modified by the end user by editing the title.
A flag indicating if this event was originated by saving a newly created dashboard, it will be false when saving or "saving as" an existing dashboard.
A flag indicating if this event was originated by a 'save' (false) or 'save as' (true) operation.
Notifies the Reveal SDK the save operation has finished and it should switch to view mode. When using server side saving and for a new dashboard or for the "save as" operation it expects:
Serializes the current dashboard to the '.rdash' file format, using the current name.
This is the callback function used to receive the serialized dashboard
This is the callback function invoked when an error occurs
A Blob object with the contents of the dashboard in '.rdash' file format.
Serializes the current dashboard to the '.rdash' file format with the name provided.
The new name for the dashboard.
This is the callback function used to receive the serialized dashboard
This is the callback function invoked when an error occurs
A Blob object with the contents of the dashboard in '.rdash' file format.
The class used as the argument to the onSave event.