Drafts - Views

New Drafts

1
Currently, there are **`$= dv.pages('"+"').length`** draft notes (**`$= dv.pages('"+" AND #note/draft').length`** in `+` folder).

Note: Copy the text above with the embedded Dataview JavaScript expressions inside the backticks with the $= prefix; that will create the dynamic sentence that shows the current draft counts, like the example shown below. The “dv.pages” function is equivalent to the Dataview LIST FROM query, but notice you must enclose it inside single quotes, and length returns a count of the notes (pages) found.

Currently, there are 6 draft notes (5 in + folder).

These are the latest 10 draft notes created today that need further processing.

TABLE WITHOUT ID 
  file.link AS “Name”, 
  file.folder AS “Folder”, 
  (date(today) – file.cday).day AS “Days” 
FROM #note/draft 
WHERE file.cday = date(today) 
SORT file.cday DESC 
LIMIT 10

View: Drafts - Today

The Dataview code block above will produce a dynamic table with links to all draft notes (with tags property note/draft) in any folder and when it was created; I’m not sure why the + folder shows as a bullet. After you process each one, remove the note/draft tag and add other tags for its new note status (like note/develop), it will no longer appear in this table.

Name (5)FolderDays
Fantastical – Shortcuts0
OmniFocus – Quick Entry0
Reader API0
Things – Quick Capture0
Drafts DirectoryEfforts/Drafts0

Using this list, you can then use an approach like my suggestions for processing these new drafts further.