Overview
The Unused Objects page It provides a table of solution listing all unused objects , updated through in the solution. This view is not dynamic; it is updated when first loading and via the Refresh button.
Its purpose is to identify and list system components or objects that can be considered for removal, thereby enhancing removed to enhance efficiency by eliminating redundant or outdated configurations. The functionality extends to updating the list of unused objects and deleting them. It also includes an additional verification step for indirect usage through reference tags, script expressions, or reflection methods to prevent the accidental deletion of necessary components. This feature is applicable in scenarios focused on system cleanup, optimization, and maintenance, where identifying unused objects is critical for resource management. It does not need any configuration; to use it, navigate to Track Changes → Unused Objects. Check out the Use Count documentation to learn how to leverage this feature.
On this page:
Table of Contents | ||||
---|---|---|---|---|
|
unnecessary configurations.
On this page:
Table of Contents | ||||
---|---|---|---|---|
|
Removing Unused Objects
Limitations, when its not safe to remove
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:
- Refresh the UseCount table
- Select one or more lines (using shift-click and control-click)
- Press the Remove Selected Lines button.
Unused Objects Table Columns
Unused Objects Table | |
---|---|
Column |
Properties reference
Unused Objects
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
- Navigate: Go to Displays / List.
- 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
- Search: Click the Search icon on the main toolbar or open the Find Results panel.
- Type and Find: Enter the object name to search for its references. Example: Searching for Display.Logon shows all locations where Logon is used.
- 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 | ||||
---|---|---|---|---|
|