How can I get the identifier of a category, so I can use it in my x-callback-urls? I have some subcategory names that overlap, and I’d like to disambiguate between the similarly named subcategories in different parent categories. I don’t see an obvious place of where to get the category’s identifier in the UI nor through the result of x-callback-urls.
Also, how can I specify a fully qualified nested category path in the x-callback-url? I’m trying to mimic my OmniFocus project structure in the Agenda project structure where I can. While I’d love to see some kind of native OmniFocus integration, I’m OK to build URLs to handle it myself.
Alas, this isn’t possible yet, we hope to have more options in the future, especially read type abilities to query your projects, notes, categories etc, which would then also include the respective identifiers.
We just had the first beta go out, and expect to have a next beta (including the mac version) by the end of the coming week. Then probably another week or 2-3 to round things off. But no definitive ETA I’m afraid, as soon as we can I promise.
New in the latest v11 beta is the addition of the create-category action that allows you to now programmatically create a new category.
We also added support for setting the collapsed, completed, pinned, and footnote status of a new or existing note. See the above documentation for the update references. Enjoy!
The collapsed parameter does not seem to be working in an iOS 14 (beta) shortcut I have created. Has anyone had issues with that parameter working correctly?
I’ve been really struggling to use an x-callback-url to create a note from a template. Here’s what I’ve been trying:
open -g "agenda://x-callback-url/create-note?title=Foo&project-title=Daily%20Journal&date=today&template-name=Daily%20Journal"
The note gets created in the correct project and it has the title “Foo”, but it doesn’t have the body of the template. I even tried renaming the template to “DJ” and using that in the URL to debug if the %20 was a problem, but no luck. Help?
Also, the reason that I started down this path is that the template I created yesterday gets assigned to yesterday. Is there a way to make it so that the template simply always gets assigned to “today” by default when I create it? That would save me from the need to use x-callback-url
The collapsed parameter does not seem to be working in an iOS 14 (beta) shortcut I have created. Has anyone had issues with that parameter working correctly?
I’ve been really struggling to use an x-callback-url to create a note from a template. Here’s what I’ve been trying:
Very likely you are not using version 11 yet? It’s currently in beta and is needed for the new template and collapse parameters to work. It shouldn’t be too long anymore before it’s released, or alternatively you can sign up for the betas.
Also, the reason that I started down this path is that the template I created yesterday gets assigned to yesterday. Is there a way to make it so that the template simply always gets assigned to “today” by default when I create it? That would save me from the need to use x-callback-url
That’s odd, if you have the “Assign New Notes to Today” option enabled in the Agenda preferences it should assign it always to today if you create a new note from a template using the plus button. Or are you referring to mentioning the date in the title of the note? If so, also this will be possible in version 11 by making use of the new \date etc actions, which also work in the templates.
Ah, shoot, I saw when looking around the note about version 11 in this thread but I saw the first post and thought that the functionality was from 3 years ago because that’s when the first post is. I even went to the extent of going to Agenda’s “About” view to check the version, but I didn’t see it (not sure why… maybe the smallness/color? I think I was mainly looking in the lower left/right corners of the window) and thought that maybe y’all switch to an “ongoing” sort of version system like Chrome does (though I suppose that still has version numbers)
Anyway, blah blah, that all makes sense, thanks! I’ll wait patiently for v11.
Regarding “Assign New Notes to Today”, I think I probably turned that off because I don’t know if it works for me most of the time. But I definitely want my “Daily Journal” notes to at least default to today.