rgood
10/28/2021, 4:00 AMjoneshf
10/28/2021, 4:28 AMkevins8
10/28/2021, 4:33 AMjyeung
10/28/2021, 5:05 AMyml
version: 1
imports: []
schemas:
- id: project
pattern: "2021-[0-1][0-9]-[0-3][0-9]-*"
template:
id: project.template
type: note
- id: projects
children:
- project
- id: team
parent: root
children:
- projects
namespace: true
## project.template is getting applied to team.b.projects.2021-11-11-hello and team.a.projects.2021-09-39-world
A few notes:
- The only part I changed from your schema was to add parent: root
- make sure that the top level schema (id:team
here) has parent:root
- double check that you have a note called project.template
in the same vault with your desired template
- each time you modify a schema, make sure to run >Developer: Reload Window
to reload VS Code & Dendron, or else changes won't take into effect yet. We're working on a fix for this shortly.
- when you have a glob pattern on the child, it looks like lookup doesn't give the visual indicator (the notebook icon) that it's matching, even though it may actually be matching already. The only way to tell is if you find that the schema template is applied. We can look into fixing that
Let me know if that works? Hope this helps!Jens
10/28/2021, 11:58 AMzebrastuhl
10/28/2021, 3:25 PMjyeung
10/28/2021, 3:37 PMdj radon
10/28/2021, 6:09 PMjoneshf
10/28/2021, 6:46 PMandrey-jef
10/28/2021, 9:52 PMDendron: Site Build
then this error pop up in the notification
error while running command: noteVault vault should exist
Anyone can help me to understand what's going on pls?Maxotronic
10/28/2021, 10:15 PMMaxotronic
10/28/2021, 10:22 PMkevins8
10/28/2021, 10:52 PMhrmnjt
10/28/2021, 10:53 PMhrmnjt
10/28/2021, 10:54 PMMaxotronic
10/28/2021, 11:24 PMjyeung
10/29/2021, 3:26 AMnoteVault
is not pertinent - it's hard coded in the error string. So it's actually trying to look for a vault named vault
. Will try to spend some more time today on it - thanks for the patience!andrey-jef
10/29/2021, 3:28 AMjyeung
10/29/2021, 3:28 AMjyeung
10/29/2021, 7:16 AMhrmnjt
10/29/2021, 11:44 AMfudo
10/29/2021, 11:45 AMJopp
10/29/2021, 12:45 PMcconrad
10/29/2021, 12:49 PMTika
10/29/2021, 12:51 PMJopp
10/29/2021, 12:55 PMJopp
10/29/2021, 12:57 PMJopp
10/29/2021, 1:06 PMjoneshf
10/29/2021, 2:47 PMparent: root
in the real schema, but dropped it off here accidentally when asking the question here 😊.
> when you have a glob pattern on the child, it looks like lookup doesn't give the visual indicator (the notebook icon) that it's matching, even though it may actually be matching already. The only way to tell is if you find that the schema template is applied. We can look into fixing that
I think this made me think it wasn't working. But it does actually. Thanks for explaining what is going on!Jopp
10/29/2021, 2:56 PM