I am attempting to query Draft(s) based on it’s tag (today’s date), sort them from oldest-newest creation date, and combine the Drafts into a single Draft.
I’m running into an issue with this:
// Query Drafts tagged with Today's Date var tag = draft.processTemplate("[[date|%Y-%-m-%-d]]"); var d = Draft.query("","inbox",[tag],"created"); editor.load(d);
I’m guessing what I’m missing here is fairly straightforward…
This is my first step in the script, so any tips or advice would be greatly appreciated!