Editing day template changes all past notes? #1456
-
I'm just now adopting Trilium, coming from RedNotebook. I'll be using Trilium mainly as my daily journal, and allowing some of my project brainstorming and project logging to flop outside of linear time, if that makes sense. I've been playing with the daily (and even monthly and yearly) templates for the daily journal, and I notice that if I change the template, especially "promoted attributes," it'll change on all journal entries and not just newly created ones. Will importing my old journal entries, or down the road changing my day template, break things? Like, the default Demo tree comes with a weight tracker, if I were to use that for awhile, then decide I no longer want to and remove it, will it disappear from all previous entries? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Modifying a template will generally only affect attributes and promoted attributes. The content of existing notes will not change.
The weight tracker extension simply adds a promoted attribute. When you add a weight, that promoted attribute writes an attribute called You can open more information on templates and attributes by going to the User Guide in the application (f1) -> Advanced Usage -> Attributes. |
Beta Was this translation helpful? Give feedback.
-
As far as I remember (so BE CAREFUL with the following statement):
What is really dangerous imho, is cloning the template by mistake, as the modification on the clone will change the original template, and then make you believe that everything else has changed. So when you want to reuse a template to create a new template, make sure you actually duplicate it:
some additional thoughts: be careful when your template has children scripts. Again, if you only want to duplicate the script to reuse the code, you may clone it by mistake and this can cause damage if the script is ran again on your old notes when editing them (for example with |
Beta Was this translation helpful? Give feedback.
As far as I remember (so BE CAREFUL with the following statement):
What is really dangerous imho, is cloning the template by mistake, as the modification on the clone will change the original template, and then make you believe that everything else has changed.
So when you want to re…