Thanks @satikusala. Silly me - I forgot that DisplayedAttributes is itself an attribute that can be copied to the child note.
Let’s say I want the first 5 Displayed Attributes copied however? I’d still be interested in knowing what mistakes I made in my initial solution to address the more general case in which I have a list of attributes from the parent note which I would like to copy to its child.
Your above code is creating a list of referenceable attributes by putting the $ to the list of attribute notes in the displayed attributes. If you’re looking to simply grave just a few of parents’ attributes, then you can simply type in the names in $DisplayedAttributes without the $. If this is something you’ll be doing a lot, there are alternative ways. I’d need to understand your context to propose other methods.