DataCubeViewService.autoSave Method

Performs the auto-save. This will be resolved even if auto-save isn't required. Rejection if a save was required, and it failed, or if this was called at an inappropriate time (i.e. when edit mode is false).
 

Parameters

isAutomaticCall

Type: Boolean
(optional) Specifies that this is an automatic call (from a timer, for example) and will be subject to the config setting for disabling auto-save and not show any loading blocker. By default, this is false, so a loading indicator is shown, and the config setting is ignored since the call is done on purpose.
Optional: True
forceSave

Type: Boolean
(optional) If specified, a save will occur no matter what (even if it isn't required).
Optional: True

Return Value


Type: jQuery.Promise
A promise object that is resolved when the save is complete.