# Context Windows

**URL:** <https://discourse.nodered.org/t/context-windows/33874>\
**Category:** General\
**Created:** [7 October 2020 10:10 UTC](https://discourse.nodered.org/t/context-windows/33874 "2020-10-07T10:10:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![josekavunkal](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/josekavunkal/32/18505_2.png) [@josekavunkal](https://discourse.nodered.org/u/josekavunkal)\
**Post date:** [7 October 2020 10:10 UTC](https://discourse.nodered.org/t/context-windows/33874/1 "2020-10-07T10:10:39Z")

</div>

global.set("Lamp\_count", Lamp\_count);  
I am using above statement to set a global value .I am able to get the value back using statement below.  
global.get("Lamp\_count");  
But I cannot see this in the window/right frame which get opened using menu "Context Data".  
I can see more that 50 global values in the Window .Is there any limits set to display global data in UI?

---

<div class="post-metadata">

**Author:** ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Post date:** [7 October 2020 11:47 UTC](https://discourse.nodered.org/t/context-windows/33874/3 "2020-10-07T11:47:02Z")

</div>

> [@josekavunkal](#):
>
> But I cannot see this in the window/right frame which get opened using menu "Context Data".

Double check the value of the variable Lamp\_count. If it is set to `undefined` then it will not be stored.

If you are persisting the data in filesystem you can also check the `global.json` file that is located at home directory/context. You will see that each stored value is a property of an object.

---

<div class="post-metadata">

**Author:** ![josekavunkal](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/josekavunkal/32/18505_2.png) [@josekavunkal](https://discourse.nodered.org/u/josekavunkal)\
**Post date:** [7 October 2020 15:45 UTC](https://discourse.nodered.org/t/context-windows/33874/4 "2020-10-07T15:45:19Z")

</div>

You are right ,the variable was reset to "undefined" at another location .  
Thank you so much for the quick reply.

---

<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:** [21 October 2020 15:45 UTC](https://discourse.nodered.org/t/context-windows/33874/5 "2020-10-21T15:45:21Z")

</div>

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