Issue
Bindings to graphics and programs on SpaceLogic IP controllers are being unexpectedly added or removed.
Product Line
EcoStruxure Building Operation
Environment
- SpaceLogic IP Controller
- Custom Types
Warning
Potential for Data Loss: The steps detailed in the resolution of this article may result in a loss of critical data if not performed properly. Before beginning these steps, make sure all important data is backed up in the event of data loss. If you are unsure or unfamiliar with any complex steps detailed in this article, please contact Product Support for assistance.
Cause
When a custom type is modified, a re-typing process is automatically triggered. The outcome of this process—specifically whether bindings are retained or lost—depends on the reference type used within the custom type.
Resolution
Care should be taken when designing custom types, as bindings within the type can be defined using one of three reference types: -
- No Reference
- Inner Reference
- Outer Reference
Each reference type behaves differently during re-typing operations and can impact whether bindings are retained, added, or removed.
When a custom type is modified or re-applied (e.g., attached to an object instance, version-changed, or undo check-out), a re-typing process is triggered. The behavior of bindings during this process depends on how they are defined in the custom type:
- No Bindings in Custom Type
If the custom type does not contain any specific bindings, then during re-typing, existing bindings in the instance will be removed. - Bindings Should Be Defined in the Custom Type
To preserve bindings during re-typing, they should be explicitly added to the custom type using either:- Inner References
- Outer References (with inner reference locked)
- Inner Reference Behavior
If inner reference bindings are defined in the custom type, they will be automatically added to the instance during re-typing, even if they were not previously present. - Outer Reference (Locked)
Using outer references with inner reference locked ensures that bindings are preserved and not unintentionally modified during re-typing
For more detailed information on the re-typing process and reference behavior, please refer to the Re-Type section in WebHelp.