Skip to content

Instantly share code, notes, and snippets.

@dannberg
Last active January 19, 2025 20:44
Show Gist options
  • Save dannberg/9056b89437110e62766689772437fe46 to your computer and use it in GitHub Desktop.
Save dannberg/9056b89437110e62766689772437fe46 to your computer and use it in GitHub Desktop.
Dann Berg's Meeting template for Obsidian. Full implementation instructions here: https://dannb.org/blog/2023/obsidian-meeting-note-template/. See the YouTube tutorial here: https://youtu.be/Ud16HOQoS5Q
---
date: <% tp.file.creation_date() %>
type: meeting
company:
summary: " "
---
tags: [[🗣 Meetings MOC]]
Date: [[<% tp.date.now("YYYY-MM-DD-dddd") %>]]
<% await tp.file.rename(tp.date.now("YYYY-MM-DD") + " " + tp.file.title) %>
# [[<% tp.date.now("YYYY-MM-DD") + " " + tp.file.title %>]]
**Attendees**:
-
## Agenda/Questions
-
## Notes
-
@nippyin
Copy link

nippyin commented Oct 13, 2024

It would be great if after entering attendees name the cursor moves to Agenda and after entering agenda it automatically moves under notes heading.

@dannberg
Copy link
Author

@nippyin Templater has <% tp.file.cursor() %> that allows you to specify where you want the cursor to be placed once a new note is created from a template. But I don't think there's a way to automatically move the curser after entering attendees name(s). If you find a way to get it to work, please share here!

@pantsmasterson
Copy link

This is great! I'm hoping somebody could help me understand why the MOC isn't grabbing my summaries, though. I see this in the MOC:
image

with this code in the MOC:

TABLE file.cday as Created, summary
FROM "Timestamps/Meetings" and -#MOC
SORT file.cday DESC

and this code in the template:

date: <% tp.file.creation_date() %>
type: meeting
company:
summary: " "

Regardless of what I type in the "summary" section, I only ever see a dash in the Dataview in the MOC.

@dannberg
Copy link
Author

dannberg commented Jan 7, 2025

@pantsmasterson is your metadata code in your template sandwiched between ---? If not, it's not being translated into a property and thus won't get passed to Dataview.

@pantsmasterson
Copy link

It was, yes, because I was dutifully using the code at the top of this page to create the template.

I've removed it for the last few days and the behaviour is the same -- the summary does not get carried over, whether or not the dashes are there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment