-
Hi, just recently started using trilium, and loving it so far I am trying to start scripting a few automations for myself and trying to base my work on the weight tracker script. However, I am trying to have a script trigger when an attribute is updated on my current day journal so I can store it's input into a JSON file. So I tried adding the I next tried adding the event like this on the journal note at the origin of the tree like this: As of right now I haven't event started on the script all my script note's content is at this point is: So, I am not sure if I am missing something obvious or if I have found a bug, any help that you can offer would be greatly appreciated! I am currently on version 0.46.7 build revision |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, so what you write all sounds correct - so things should work, but don't which seems to suggest that something not described is wrong.
This suggests that you've created "JS frontend" script and that might be the problem. Only "JS backend" scripts can listen to the entity (attribute) changes. |
Beta Was this translation helpful? Give feedback.
Hi, so what you write all sounds correct - so things should work, but don't which seems to suggest that something not described is wrong.
This suggests that you've created "JS frontend" script and that might be the problem. Only "JS backend" scripts can listen to the entity (attribute) changes.