How to find an item by its item link?

Sometimes (not that often), I have in the clipboard the item link of a document (like x-devonthink-item://9BF3AA42-A526-4E7B-A6B9-49266E3833FB. – How can I show this document in DEVONthink?

(The only way I found is a bit cumbersome: I have to switch to my web browser, paste the link into a new tab and then the document opens in DEVONthink. However, a way to do this directly in DEVONthink through the search would be handy – url: x-devonthink-item://9BF3AA42-A526-4E7B-A6B9-49266E3833FB does not work.)

That wouldn’t work as it’s not a document’s URL. In our automation parlance, it’s the reference URL, made up of the x-devonthink-item:// protocol and the item’s UUID.

Sometimes (not that often), I have in the clipboard the item link of a document

If it’s not that often, why not just use the method you’re using?

Well, I was just curious, whether there is a smarter way – DEVONthink has so many smart little tricks up its sleeves. :smile:

So the natural search syntax for it would be uuid: 9BF3AA42-A526-4E7B-A6B9-49266E3833FB, right? :wink:

So the natural search syntax for it would be uuid: 9BF3AA42-A526-4E7B-A6B9-49266E3833FB , right?

Nope, because uuid is not an indexed and searchable parameter. This is why some people include the item link in the document’s contents. Of course, this is most often people using Markdown documents with MultiMarkdown metadata headers. And DEVONthink would need to be set to index the raw Markdown source via the hidden preference.

Here’s a little shortcut I whipped up that can be used in the Services menu…

Open Clipboard Links

But it’s 0400 and I’m going back to bed…
:sleeping:

1 Like

When using an iOS divice, you can search an item by its id, i.e. without the protocol part.

For instance, if the reference is “x-devonthink-item://9BF3AA42-A526-4E7B-A6B9-49266E3833FB” you can search for “9BF3AA42-A526-4E7B-A6B9-49266E3833FB” and item is shown in the result list. Sadly, this does not work on a Mac.

1 Like

An item link is not a searchable property in DEVONthink. Development would have to assess adding this behavior.