node-red-dashboard icon indicating copy to clipboard operation
node-red-dashboard copied to clipboard

Dashboard title from Environment Variable

Open tompeel opened this issue 6 months ago • 2 comments

Description

I would like to pass in a global environment variable to use as the title on a dashboard page

Something like ${envVar}

In the

Edit ui-page node - properties - name input.

So for example I would have one set of flows I can flash to my pi and it would inherit the environment variable set and maintain it when pulling down updates.

It would be cool if this would work for the 'path' option too.

Was told on Facebook to report here so hopefully this get picked up!

Love all your work!!

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

tompeel avatar Jun 20 '25 20:06 tompeel

Any plain text property can be set to ${var} and the runtime will substitute it automatically without the node needing any special support for it.

I believe the page title property should just work with this. I'll note from your FB post, you list lots of different syntaxes you'd tried except the ${var} one.

knolleary avatar Jun 20 '25 21:06 knolleary

As a small/easy task here though, there would be an easy win to have the "Name" field for the Dashboard be a TypedInput with the following types available:

  • String
  • Flow Variable
  • Global Variable
  • Environment Variable

joepavitt avatar Jul 30 '25 14:07 joepavitt