# Context side bar, delete sub properties?

**URL:** <https://discourse.nodered.org/t/context-side-bar-delete-sub-properties/98280>\
**Category:** Feature Requests\
**Created:** [24 July 2025 00:48 UTC](https://discourse.nodered.org/t/context-side-bar-delete-sub-properties/98280 "2025-07-24T00:48:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [24 July 2025 00:48 UTC](https://discourse.nodered.org/t/context-side-bar-delete-sub-properties/98280/1 "2025-07-24T00:48:43Z")

</div>

Is there any particular reason why we can only delete the main item at the top level, and not any of the elements under that ?

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/f/6fda588e4ebbef134cbbd938a6079dcb38fff93f.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/9/a9c3f752c5d193958d60999fa0b6dc3b06c68bd9.png)

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [24 July 2025 09:33 UTC](https://discourse.nodered.org/t/context-side-bar-delete-sub-properties/98280/2 "2025-07-24T09:33:08Z")

</div>

I think that it is because that would need a different interface. Deleting the object as a whole is one thing but removing a property from an object is something else.

I know this has been discussed in the past. Not sure if anything ever went onto a backlog. It certainly would be _nice_ to have a way to edit context variables directly.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [24 July 2025 09:42 UTC](https://discourse.nodered.org/t/context-side-bar-delete-sub-properties/98280/3 "2025-07-24T09:42:18Z")

</div>

> [@TotallyInformation](#):
>
> I think that it is because that would need a different interface. Deleting the object as a whole is one thing but removing a property from an object is something else.

Since the context delete already understands sub props (e.g. `global.set('top-level.sub-prop', undefined)`) this _ **should** _ be as simple as presenting the delete button on the properties (famous last words 😉 )

More recently, working on flows using lots of context, I have wished this were a feature with increasing frequency.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [24 July 2025 09:43 UTC](https://discourse.nodered.org/t/context-side-bar-delete-sub-properties/98280/4 "2025-07-24T09:43:59Z")

</div>

As I use context variables for things like caching in UIBUILDER, I would certainly like to have the ability to delete and even edit properties in them from the Editor. Would be very handy and save having to write a mini-flow to do it.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [22 September 2025 09:44 UTC](https://discourse.nodered.org/t/context-side-bar-delete-sub-properties/98280/5 "2025-09-22T09:44:55Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
