Context Windows

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?

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.

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

1 Like

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