Keep link on agent's query update

Hey there, thanks but this does not seem to work…this is as far as I got with my original. It results in the correct notes being called but the links do not appear.

.

As for the layout question, it was just that, as a question. I have no idea how to approach that yet. See the image as to what I hope for someday.

Thanks, this is not urgent, was just hopeful. :slight_smile:

The code here is run on the alias of every note in the agent. linkTo() will thus link the current processed alias to the matched note. Do you want to link the alias or the alias’ original note. In which case try consider.

If you’re not sure what the code does, try writing some pseudo code stepping through what you want to happen. If the code is, as intimated, something that was just copied from an old thread likely it uses data not in your file. What is stored in the $MySet of each note? The code calls that and iterates the list.