Save Work and Save As
- Last UpdatedMar 18, 2024
- 3 minute read
When the Save Work command is issued, the following actions will be performed:
-
Saving the Visio drawing and modified stencils to the file system, also re-saving all opened documents with a file format not corresponding to ‘Save documents in the Visio XML format’ setting.
-
Updating the SCDIAG and SCSTEN index elements in the database with Visio drawing related data.
-
Performing the Dabacon SaveWork, thereby flushing all session data to the database.
The Save As command will provide the user with a possibility to save the drawing under a different name and with the option to duplicate all the presented data. In order to keep consistency between the database and drawings it is not possible to execute the Save As command on a drawing containing unsaved database related changes. In such a case the changes must first be saved and therefore the operation is cancelled with the following warning message.

Save As warning message
After the Save As command has been executed and the drawing does not contain any database related changes, the name and location for a new drawing should be specified in the Save As dialog.

Save As dialog
The location for a new diagram is assigned by selecting the schematic group element below which the diagram should be created. It is also possible to create new schematic groups by right-clicking on the Schematic World element or on an existing Schematic Group element in the element tree to the left.
Depending on the Copy DB items option, shown in the picture above, the new diagram can be saved in two different ways:
-
When the option is checked, all items that are defined in the database are duplicated together with the drawing containing the changes. for further information refer to Save As with Copy of Data.
-
When the option is unchecked, the drawing is duplicated but all the containing shapes are undefined on the copy of the diagram.
When the drawing has been successfully saved with Saved As, with a copy of the database data or not, the user is prompted to perform a Save Work.

Note:
If the Diagrams application is closed without the execution of Save Work the newly created copy of the drawing will not be saved between sessions.
Note:
If more than one diagram is open, all open diagrams will be saved when Save Work is performed.
Important:
It is not allowed to overwrite an existing diagram by performing a Save As and selecting the same name as an existing diagram. This is due to technical reasons
and the way that diagram files are stored and referred from the DB proxy elements
(SCDIAG). The workaround is to first delete the diagram to be overwritten before performing
the Save As using the same name.