# Specify key for ui-text

**URL:** <https://discourse.nodered.org/t/specify-key-for-ui-text/87497>\
**Category:** Dashboard\
**Tags:** dashboard-2\
**Created:** [25 April 2024 18:38 UTC](https://discourse.nodered.org/t/specify-key-for-ui-text/87497 "2024-04-25T18:38:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JeromeVISUALS](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jeromevisuals/32/40103_2.png) [@JeromeVISUALS](https://discourse.nodered.org/u/JeromeVISUALS)\
**Post date:** [25 April 2024 18:38 UTC](https://discourse.nodered.org/t/specify-key-for-ui-text/87497/1 "2024-04-25T18:38:08Z")

</div>

Hi there, I made a quick search but could not find anything, so sorry for the noise of this topic was already covered.

with DB1 I made many flows in which I would use specific msg properties in ui-text nodes, so I could address several text nodes from a single function node output for example ( msg.payload.propertyLabel, or msg.propertyLabel for example)  
For now this is not possible in DB2 , so I have either the option to use several outputs from the function node, or to use change node before each ui-text node to re-assign the property to msg.payload.

Is that planned to be improved at some point ?

Thanks !

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [25 April 2024 18:52 UTC](https://discourse.nodered.org/t/specify-key-for-ui-text/87497/2 "2024-04-25T18:52:47Z")

</div>

Yes. It has been raised. Something I am a big fan of.

> <https://github.com/FlowFuse/node-red-dashboard/issues/92>
>
> \### Description
> 
> To avoid having to split up and shift around properties in my o…bject payload, please support a standard "property" input as a \`typedInput\`. Same as the built in switch node, file, range, etc, nodes do
> 
> !\[image\](https://github.com/flowforge/flowforge-nr-dashboard/assets/44235289/184f2856-e40c-4d0a-b40d-8b394f479251)
> !\[image\](https://github.com/flowforge/flowforge-nr-dashboard/assets/44235289/adf64214-d41f-47d3-ab88-3f46c2e7fe43)
> !\[image\](https://github.com/flowforge/flowforge-nr-dashboard/assets/44235289/697e4b78-ef67-45a8-9578-1f9c66e262fc)
> 
> I would recommend, to keep this simple, it would default to \`msg.payload\` and would only support \`msg\` and \`JSONata\`.  
> 
> Anyone who knows JSONata can use \`performance \* availability \* quality\` directly in the input property
> Anyone who doesn't know or like JSONata, can use a math node or other nodes to compute the OEE value then pass it into the ui-text node
> 
> 
> 
> This means given this payload:
> \`\`\`
> {
> name: "Cooling Stage 1"
> time: '16:00',
> cycleCount: 800,
> availability: 0.938,
> performance: 0.933,
> quality: 0.983
> OEE, "86%"
> productionHours: 8,
> partCount: 700,
> targetCount: 800,
> scrap: 12
> }
> \`\`\`
> 
> I can change this...
> !\[image\](https://github.com/flowforge/flowforge-nr-dashboard/assets/44235289/e75875dc-2951-4850-83f0-b704fdc5e76a)
> 
> 
> 
> into this...
> 
> !\[image\](https://github.com/flowforge/flowforge-nr-dashboard/assets/44235289/63c8fc29-ac09-4a66-b163-6bafb522f504)
> 
> 
> 
> 
> 
> 
> \### Have you provided an initial effort estimate for this issue?
> 
> I have provided an initial effort estimate

But it has been on the backlog now for almost 10 months ☹

---

<div class="post-metadata">

**Author:** ![JeromeVISUALS](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jeromevisuals/32/40103_2.png) [@JeromeVISUALS](https://discourse.nodered.org/u/JeromeVISUALS)\
**Post date:** [25 April 2024 19:07 UTC](https://discourse.nodered.org/t/specify-key-for-ui-text/87497/3 "2024-04-25T19:07:52Z")

</div>

Ok thanks. Good to know it's already considered.

Hope it will come soon !

---

<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:** [25 May 2024 19:08 UTC](https://discourse.nodered.org/t/specify-key-for-ui-text/87497/4 "2024-05-25T19:08:14Z")

</div>

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