3.6 Deleting Elements and Linked Relationships

Service model elements and their linked relationships can be removed using the right-click Element menu. The three types of elements found in the Service Models hierarchy as follows:

  • Native elements (elements that were created directly under a service model)

  • Elements linked from the Elements hierarchy (cannot be deleted)

  • Elements linked from within the Locations or Service Models hierarchy

Table 3-2 provides linked element examples:

Table 3-2 Linked Element Examples

Link Representation

Description

[Linked Elements that do contribute to state.]

Linked elements are identified by a linked symbol in the Explorer pane. This includes any elements created using the Paste Link option.

[Linked elements that don’t contribute to state.]

Linked elements that do not contribute to state are identified by a broken link symbol in the Explorer pane. This is only available for a linked location.

Removing service model elements involves different options, depending on the element type and whether the link relationship or the element should be deleted.

3.6.1 Removing a Native Element

  1. In the Explorer pane, right-click the element, then select Remove.

    A confirmation dialog box lists the parent from which the selected element is removed.

    WARNING:Deleting an element also deletes any links to it that have been created elsewhere in the Service Models hierarchy.

  2. Click Yes.

    The element is removed along with any links to it that exist elsewhere.

3.6.2 Removing a Linked Element

  1. In the Explorer pane, right-click the linked element (displays with a linked icon as shown above), then select Remove.

    The element is removed from only this section of the Service Model hierarchy. The original element and other links to the element remain intact.

3.6.3 Removing All Occurrences of an Element

To remove all occurrences of an element, including all links to it in the hierarchy:

  1. In the Explorer pane, right-click a linked element, then select Remove All Occurrences.

    A confirmation dialog box lists all the parent service models to which the element is linked.

  2. Click Yes.

    The element and all its linked references are removed.