Not sure how to mix (original) and (parent) designators

I have a stamp $Source=$ID(parent)+"#"+$Name(parent);

This works perfectly, unless it is applied to an alias, at which point it takes on the name fo the alias and not the original note. Is there a way to combine orginal and parent designators?

e.g. $Source=$ID(original,parent)+"#"+$Name(original,parent); [NOTE: this is an example, is not correct and does not work].

I believe you want $Name(parent(original)) — the name of the parent of the original note.

2 Likes

Sweet! That did it '$Source=$ID(parent(original))+"#"+$Name(parent(original));`