Hide Node Red Input according to the global var in custom node

Hello,

I'm starting with Node-RED, and sorry if I'm asking something really stupid, but I'm trying to get one global variable defined in settings.js -> functionGlobalContext, to hide or show one input in one custom node that we create.

The main reason for that is because we have multiple instances of node-red running on Docker for each client, and we need to evaluate if one client is responsible for multiples apps before show node config.

I'm trying to call RED object inside oneditprepare, but I can't find the correct way to read those variables...

We are using NodeRed v1.1.1

Thanks in advance

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