BTW, there are all in the linking demo for your journal work I sent to you a while back. Now that you know what to look for, those demos may be more helpful.
They are also outlined in detail in the linking training videos: Tinderbox Training Video 62- Dynamically create notes from attributes with functions