I have Siri (iOS) Shortcut for creating new markdown document with markdown-link to selected file. It works OK, but new file is created in predefined group, Global Inbox for instance.
How to create new document in the same group as selected file with Siri Shortcut?
First, I think that this is not possible yet, since DTTG always and invariably saves to predefined group.
Second, I’m not sure how that should work without surprises. The “selected file” is inside DTTG. An iOS Shortcut can be run from anywhere. So there might be no file selected in DTTG when you say “Hey Siri” or invoke the sharing menu or run the shortcut some other way, since DTTG is closed. In fact, I’d rather see the possibility to define the group one wants to save the file to, so that you can say “Hey Siri, create new markdown file in my favorite group for new markdown files.” (Ok, I never use Siri, so I have no idea how one talks to it).
Sorry, I misread your first post. At least I understood that the first command of your shortcut is „Open“
I think the problem is that there’s no way to find the parent group of the currently selected record in DTTG. It’s simple in DT, but since DTTG is not scriptable … tough luck.
It is possible to go further for “more Zettelkasten”. For instance, append markdown link from new file to currently selected via Update Content action:
No worries.
One friendly person tested the Share menu in iOS 15 beta and said it’s working, so we’re crossing our fingers that it will be so for the public release.