Can somebody please tell me how to retrieve the unique ID for a document using Workflow.is? Formerly, it worked with “Get name” but now I am pretty puzzled how to get it.
The trouble is that DTTG shares for instance to 2Do but only with the temporary link which is not a help at all. I would like to get x-DEVONthink-item://Unique ID. (UUID), so that I am able to pass this parameter to 2Do using Workflow.
Thanks to the DevonTeam to have extended x-callback!
I’m out of my depth with how iOS extensions are programmed, but I’ve been playing with Pythonista’s share extension with DTTG documents, and see that several types of input are available. In DTTG’s case, the input is a file path, using the original filename appended with a special (001A) code that makes “Import with DEVONthink” round-tripping work.
Perhaps this special code could be replaced with the UUID (without breaking the round-tripping feature)? And then automation apps like Pythonista could scrape the UUID from the filename.
Another type of input available to extensions is URLs. When playing with Pythonista’s share extension, I can see shared documents from DTTG have no URL set. Is it possible for DTTG to share both the file pathAND the URL (containing the UUID)? If that were the case, this might be a cleaner solution for automation apps like Workflow.