Getting a note's grandparent in an agent

(Keith Lancaster) #1

I have an agent that collects notes based on text. So far so good, but I want to have the table in the agent (in map view) display an attribute of the grandparent of the notes it collects. When I use parent or grandparent in the table, I get the parent or grandparent of the alias that is in the note (i.e., the parent is the agent itself) rather than the real parent. I’m sure its documented someplace, but I can’t seem to find an example.

(eastgate) #2

What you want is “the grandparent of the original note”. So


is probably the attribute reference you’re seeking.

(Mark Anderson) #3

Now you know the correct designator for this task, here’s a bit more on designators as a whole.

(Keith Lancaster) #4

Thanks! I completely missed designators somehow.

(Keith Lancaster) #5

Perfect! That is exactly what I was looking for.