Dashboard title from Environment Variable
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
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.
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