Smart Names for Smart Adornments

I want to create a smart adornment that uses the name of the adornment in the AgentQuery of the adornment.

I thought $PID == $Name; would do it, but that gives me notes where the name of the note and the PD are equal, which upon reflection makes a lot of sense! What query would give me “notes with the PID of the name of this adornment?”

$PID==$Name(adornment)

See the adornment designator.

Ahh, thank you Mark.

I’d poked around trying to find the right page, but didn’t find this one.

1 Like