# How to create / append bulk tooltips via script with json export?

**URL:** <https://forum.inductiveautomation.com/t/how-to-create-append-bulk-tooltips-via-script-with-json-export/50072>\
**Category:** Ignition\
**Created:** [August 18, 2021, 7:40pm UTC](https://forum.inductiveautomation.com/t/how-to-create-append-bulk-tooltips-via-script-with-json-export/50072 "2021-08-18T19:40:59Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 19, 2021, 4:30pm UTC](https://forum.inductiveautomation.com/t/how-to-create-append-bulk-tooltips-via-script-with-json-export/50072/4 "2021-08-19T16:30:53Z")

</div>

You can do it with `jq` (a downloadable command-line executable designed to manipulate JSON):  
`walk( if type == "object" and .valueSource == "opc" then .tooltip = "TagName: \(.name) \(.opcItemPath)" else . end)`  
[https://jqplay.org/s/Pe6T7qNEFY](https://jqplay.org/s/Pe6T7qNEFY)

I mostly copied this snippet from here:

> <https://stackoverflow.com/questions/53145680/jq-recursively-update-values-for-certain-elements/53145829#53145829>

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-create-append-bulk-tooltips-via-script-with-json-export/50072)._
