×
Siemens Industry Online Support
Siemens AG
Entry type: FAQ Entry ID: 109482931, Entry date: 04/21/2016
(5)
Rate

How do you restore deleted objects in COMOS?

  • Entry
  • Associated product(s)
You have the option of restoring objects deleted in the COMOS navigator. This procedure is described below in detail.

Basics

You have deleted objects in a working layer.

  • If you delete transparent or logged-in objects, they are "soft deleted".
  • If you delete objects in the working layer in which they were created, the following holds:
    - History monitoring disabled: the objects are "hard deleted".
    Note
    No collisions in subordinate layers.
    If the objects were checked into a subordinate working layer or are subject to
    history monitoring, are "hard deleted" there.
    There are no collisions.
    - History monitoring enabled: the objects are "soft deleted".

You have deleted objects in the released area.

  • History management disabled: the objects are "hard deleted".
  • History management enabled: the objects are "soft deleted".

"Soft Deleted" (logical deletion)
The object can no longer be used and is still only visible in the working layer view. The object is still physically in the database.

"Hard Deleted" (physical deletion)
The object is not visible in the COMOS interface, neither with enable nor with disabled working layer view.
Objects with the "hard deleted" status can only be displayed with the "Restore COMOS objects" query.

History Monitoring (project history)
The history monitoring (project history) logs changes of objects when a working layer is released into the released area. You can enable or disable this in the Project Properties.

More information on the topic of "History Monitoring", "Hard Deleted" and "Soft Deleted" is available in the manuals below:
COMOS Platform Operation
COMOS Platform Administration

Restore deleted objects in working layers

  1. Move the mouse to a free area in the COMOS Navigator.
     
  2. Right-click to open the pop-up menu.
     
  3. Click "Working layer display mode" to enable the working layer display.
     

    Fig. 01
     
  4. In the Navigator you open the area in which you have deleted the object.
    Deleted objects are displayed there in red.
     

    Fig. 02
     
    Note
    Refer to the "Legend" for the meanings of the colors in the working layer display.
    You also open this via the Navigator by clicking the "Legend" item.
     
  5. If you want to restore an object, you have the options below.
    Right-click the deleted object to open the associated pop-up menu and click the relevant item:

    a. "Working layers/History > Undo deletion"
    The object and all the subordinate objects were deleted from the working layer.
    This option restores the original data with all changes in the working layer.
    b. "Working layers/History > Restore > Single"
    The object and all the subordinate objects were deleted from the working layer.
    The single object (without all the subordinate objects) is taken from the higher-level layer and restored.
    All the changes you made in the working layer and which are not in the working layer above are therefore not restored.
    c. "Working layers/History > Restore > Recursive" (with subordinate structure)
    The object and all the subordinate objects were deleted from the working layer.
    The object with all the subordinated objects are taken from the working layer above and restored.
    All the changes you made in the working layer and which are not in the working layer above are therefore not restored.
     

    Fig. 03
     
    The object was not restored.
     
  6. Disable the working layer display.
    For this you open pop-up menu again in the Navigator and click the item: "Working layer display mode".

Restore "Hard Deleted" COMOS Objects

Note
If COMOS objects are "hard deleted" and then the database is compressed, you cannot restore those objects.

  1. Via the COMOS toolbar you open the query:
    "Extra > Query > Tools > Restore COMOS objects"
     

    Fig. 04
     
  2. Set a Start object and COMOS automatically searches for the objects deleted there.
    For this you drag-and-drop an object to the "Start object" field of the query.
     
  3. In the toolbar of the query you click the "Search" button.
     

    Fig. 05
     
  4. The objects with the "hard deleted" status are displayed in the query.
    If you want to restore one of the objects, you right-click the required object to open the associated pop-up menu.
     
  5. Click the "Restore" item.
     

    Fig. 06
     
  6. The deleted object and subordinate objects are restored.
     

    Fig. 07
     

Further Information
More information on this topic is available in the manuals below under the keyword "Restore objects":

You can also go to the COMOS Forum to exchange information on all topics with customers and experts.
COMOS Forum (German)
COMOS Forum (English)

How to contact COMOS Support directly is described in this entry:
FAQ: How do you submit a technical COMOS query via the GTAC portal?

General information about COMOS is available at the following links:
Media System - COMOS Making data work
COMOS Product Page
COMOS YouTube Playlist

Additional Keywords
Restore COMOS data, Restore COMOS objects, Retrieving COMOS deleted data, Hard delete, Soft delete


Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.