1. Overview 1.1 Application scenario Users want to prevent data loss by automatically restoring the dashboard after editing it and saving it or closing the product without saving it. 1.2 Function introduction The dashboard supports save, save as and auto-save, auto-save is a protection mechanism to prevent data loss, the product will go to do auto-save processing of the dashboard at regular intervals (no effect on the existing dashboard operation), when the dashboard is closed abnormally, it can be restored. When the dashboard is closed abnormally, it can be restored. If the dashboard has not been operated for a long time and reaches the set expiration time, the dashboard will enter the expired state. 2. Save function 2.1 Save Click the Save button in the upper right corner or use the shortcut key Ctrl+s to save. If the saved dashboard is a new dashboard, you need to select the save path and name the dashboard. Renaming is not supported in the same folder. 2.2 Save as Click the Save As button in the upper right corner, you need to select the save path and name the dashboard. Renaming is not supported in the same folder. 2.3 AutoSave When the dashboard expires, or the browser is closed or refreshed abnormally, when you enter the dashboard interface again, the dialog box of automatic restore will pop up, select the dashboards that need to be recovered, and click OK, and the unchecked dashboards will be deleted. You can set the time to save the dashboard automatically, configure the property: auto.save.interval=xxx in bi.properties file, where xxx is the time in ms and the default value is 300000 (5 minutes). 3. Dashboard expiration Expired means that after opening a dashboard, you have not operated on the opened dashboard for a long time, and it will enter the expired state after reaching the set expiration time. After the expiration prompt appears, click OK to continue the operation. 1)When a dashboard enters the expired state and you continue to operate the dashboard, a pop-up window prompts for expiration. 2)When you click OK, the dialog box closes and you can continue to operate the dashboard. You can set the expiration time by configuring the parameters in the bi.properties file, and the product default value is 3600000 (1 hour). ➢ Example: Set the dashboard expiration time to 10 minutes, configure the property: db.timeout=600000 in the bi.properties file, and then restart the product.
|