Tinderbox Forum

Tag options from note text

I’m trying to achieve this, but don’t know where to start:

  1. Create a note named “pTagList” and populate the text with a list of tags
  2. In new notes, when adding a tag to the Tags attribute, the list of options pulls from “pTagList” only

Is this possible?

Oh, what a delicious problem.

There are two approaches to accomplish this, both illustrated in the attached.

  1. Populate $Tags from individual lines in $Text with an Edict

  1. Populate $Tags (in this demo $TagsApproach2) with an $Edict that collects children

Personally, I prefer approach 2 as that actually lets me create a note that lets me define the tag, to which I can later use in a glossary.

Example file attached:
TBX L - Tags and Lookup Lists Two Approaches.tbx (123.5 KB)

I’m pretty tied up right now, but if you’d like we can discuss the action code and regex later.


@satikusala Wow, thank you for the quick response. There’s no way I would have figured this out on my own. I appreciate the thorough write up!

On a side note, your videos have single handedly expanded my knowledge of Tinderbox by orders of magnitude. You have provided a service that was desperately needed for a piece of software as dense as TB. Without your hard work, I doubt I would have renewed my license and TB would eventually have been deleted and replaced with something inferior.

Keep up the great work!