Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

The Unused Objects page provides a table listing all unused objects in the solution. This view is

not dynamic; it is

updated when first loading and via the Refresh button.

Its purpose is to identify components that can be removed to enhance efficiency

by eliminating unnecessary configurations.

On this page:

Table of Contents
maxLevel3
styleNone

.

Access: Track Changes → Unused Objects

Parent Page: Track Changes Tools (Reference)


 

Table Columns

ColumnDescription
IDUnique object identifier
ModuleModule containing object
ObjectNameName of unused object
Image Removed

Removing Unused Objects

Limitations, when its not safe to remove

Safety Warning

This feature only

shows the places where the object is being used directly, not those used by an indirect reference or string manipulation.

See TrackChanges / CrossReference for example of configuration using objects indirectly. 

Only remove unused objects if you're sure they aren't used indirectly or by external applications. 

Removing steps

If you want to proceed and remove an object with the assistance of this table, follow these steps:

  1. Refresh the UseCount table
  2. Select one or more lines (using shift-click and control-click)
  3. Press the Remove Selected Lines button. 

detects direct usage. Do not remove objects that might be:

  • Used via string references
  • Accessed by external applications
  • Referenced indirectly in scripts
  • Consumed via OPC UA/MQTT

Removal Process

  1. Click Refresh to update list
  2. Select objects (Shift-click/Ctrl-click for multiple)
  3. Click Remove Selected Lines
  4. Confirm deletion

Deleting Objects with References

When Delete is Disabled

If an object appears unused but can't be deleted:

  1. Search References
    • Use Find Results panel
    • Enter object name
    • Review all locations
  2. Remove References
    • Double-click each reference
    • Delete or replace usage
    • Repeat until clear
  3. Final Deletion
    • Return to object definition
    • Delete from main table
    • Or delete from Unused Objects

Example: Deleting Displays

  1. Navigate to Displays → List
  2. Select display
  3. Click Delete (X) button
  4. If disabled, find and remove references first

Best Practices

  • Always verify no indirect usage
  • Check external system dependencies
  • Document why objects were removed
  • Consider archiving before deletion
  • Test after cleanup

See Also

Claude can make mistakes.
Please double-check responses

Unused Objects Table Columns

Unused Objects Table

Column

Description

ID

Assigns a unique identifier to each object.

Module

Links the object to a specific module within the solution.

ObjectName

Names the object for easy identification.

Deleting Displays or Referenced Objects

How to delete Displays or Other Objects

  1. Navigate: Go to Displays / List.
  2. Select and Delete: Choose the Display to delete and click the Delete button (X) on the DataGrid toolbar.

 For other objects, follow a similar procedure in their respective configuration tables.

Handling Disabled Delete Button or Error Messages

If the Delete button is disabled or an error message appears, the object is still in use somewhere in the solution.

In this case, it's necessary to locate and remove its references, so you can then delete the object. 

Finding and Removing Object References

  1. Search: Click the Search icon on the main toolbar or open the Find Results panel.
  2. Type and Find: Enter the object name to search for its references. Example: Searching for Display.Logon shows all locations where Logon is used.
  3. Navigate and Remove: Double-click on the references in the Find Results table to navigate and remove them, either by deleting the configuration or replacing the object.

Final Deletion

  • After removing all references, return to the main definition table and delete the object.
  • Alternatively, delete it from the Unused Objects table

    .

    In this section:

    Page Tree
    rootV10:@parent
    spacesV10