The TrackChanges Unused Objects provides a table listing all unused objects in the solution. This view is not dynamics, 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:
This feature only shows the places the object is using directly, not using by an indirect reference or string manipulation.
Here are some examples where an object is used indirectly:
For most solutions, the indirect reference it's used only for Tags. They display can be used by strings reference using the Client.OpenDiaplay("stirng") method.
Other objects for other modules, like Datasets, Devices, typically are not used as a reference.
Therefore, in general, other objects you can remove directly, and Tags or Displays, as long you aren't used the describe indirect access.
The reason, the "in general" warning was present, is that using the Toolkit, like the TK.GetObjectValue(),
it's possible to indirectly access any object in the application.
If you want to proceed and remove an object, with the assistance of this table, follow these steps:
TrackChanges 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. |
In this section: