Right now, I use three templates to preview the content of note(s) using “children(template)”. Root and Folder(s) have Attributes which I reference from Note(s). As I change the template very often, it would be easier to maintain only 1 template.
Is it possible like in the scenario above to generate a preview by using 1 single template?
I tried to use an agent. But as I want reference Attributes in Root and Folder(s) it doesn’t work (for my knowledge).
Hi @Gernot, Thanks for the message. I am a bit confused. When you refer to “template” are you actually referring to a “prototype” or an actual output template that would be used for Preview and/or Export?
Your Folder can use OnAdd actions that apply prototypes. These prototypes can be assigned default templates. Also, you can use the document inspector to easily switch between templates, or Stamps if if you’d like. I use tons of templates, e.g. one of my files has 50+, for different purposes and nuances.
It is likely you are using $SomeAttribute(parent) with an intrinsic attribute, i.e. one where an original and its aliases have different values for the s_same_ attribute.
But, in an agent, the parent of an alias is the agent. So, if you want the alias to get a value from the original use $SomeAttribute(parent(original)).
In the example below, the agent has the query inside("Holder") and the action:
I was referring to output templates which I use to preview. I usually don’t need the export function as I only need a quick overview on all the notes (scenes) for my outline I am working on.