# Delete cascade/delete replace in Ignition gateway/designer?

**URL:** <https://forum.inductiveautomation.com/t/delete-cascade-delete-replace-in-ignition-gateway-designer/102872>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [February 26, 2025, 1:29am UTC](https://forum.inductiveautomation.com/t/delete-cascade-delete-replace-in-ignition-gateway-designer/102872 "2025-02-26T01:29:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leor\_Fishman](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Leor\_Fishman](https://forum.inductiveautomation.com/u/Leor_Fishman)\
**Post date:** [February 26, 2025, 1:29am UTC](https://forum.inductiveautomation.com/t/delete-cascade-delete-replace-in-ignition-gateway-designer/102872/1 "2025-02-26T01:29:19Z")

</div>

Two related questions:

1. Is there any way in the gateway to say 'when I delete a device connection, also delete all tags associated with that device'? Not looking for this to be the default behavior, just wondering if there's a setting to make it happen.

2. In the Vision editor in the designer, if I have component A dependent on a property of component B, when I go to delete B, it says 'A is dependent on B, you can't delete B'. Is there any way to a) say 'delete this component and all dependent components' or b) say 'delete this component and null out all dependent component bindings?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 26, 2025, 1:32am UTC](https://forum.inductiveautomation.com/t/delete-cascade-delete-replace-in-ignition-gateway-designer/102872/2 "2025-02-26T01:32:10Z")

</div>

1. No. If such existed, it would need to be able to deal with UDTs that contain OPC tags that dynamically get pointed at devices, or perhaps not at natives devices at all, et cetera. Use the designer's tag report tool to find specific kinds of bad tags.

2. No. But there is a visual control to show arrows on the window for such dependencies.

---

<div class="post-metadata">

**Author:** ![Leor\_Fishman](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Leor\_Fishman](https://forum.inductiveautomation.com/u/Leor_Fishman)\
**Post date:** [February 26, 2025, 1:33am UTC](https://forum.inductiveautomation.com/t/delete-cascade-delete-replace-in-ignition-gateway-designer/102872/3 "2025-02-26T01:33:36Z")

</div>

1. Thanks! Makes sense.

2. Is the dependency graph accessible from the scripting interface?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 26, 2025, 2:30am UTC](https://forum.inductiveautomation.com/t/delete-cascade-delete-replace-in-ignition-gateway-designer/102872/4 "2025-02-26T02:30:09Z")

</div>

No, but a window's InteractionController has every binding and methods to find them from either end.
