Opening a DEVONthink link in DT but from a web application

I’d like to insert DEVONthink item links into certain web-based applications (Notion, Roam) and be able to click on those links and have them open up the corresponding document in DEVONthink. However, when I’ve tried to do that, those links always get treated as web URLs to non-existent web pages that my browser tries to open.

Does anyone have a workaround for this? I have Alfred and Keyboard Maestro, so if you think either of those applications–or just some Applescript–would work well, please let me know (please also know that I am still VERY much a novice when it comes to KM and especially Alfred and Applescript).

Thank you for any help you can provide.

Works here. Roam Research:

Enter link like this:

Generates this view:

When the link is clicked, Safari requests this permission:

Perhaps you have a content blocker problem?

Right you are! Thank you. Probably I should have tried it in Roam before writing my message. I’ve been having the problem in Notion and thus figured I’d have the same problem in Roam. Notion remains a problem, both in Safari and Chrome. So if anyone knows a workaround for that, please let me know. Thanks again for the help.

Following! I just started out with Notion thinking this would work. But it doesn’t — and I want it to!

You should talk to the Notion team about this.

1 Like

According to Mark Robertson in the Roam FM podcast episode below, Roam is an outlier in terms of web applications that open up callback URLs. He says that one of the things that sold him on using Roam is precisely this feature. He also talks a little bit about how he uses Roam in conjunction with DEVONthink.

really want to know how to fix it ! use devonthink as my documents managers ,and i can refers to it anywhere !

Welcome @extirpate
Have you talked to the Notion team about this?

I use PopClip app in MacOS. Just double click the item link to highlight, and the first thing the menu shows is a link icon you can click to follow it. Easy. iOS has “Follow Link” in the native highlight menu. Takes two clicks but it’s no big deal.

Hi, I’m trying to use DVT’s links on Roam Research (RR) so that I can directly open the files on DVT while working on RR, but it doesn’t seem to work anymore:

Could someone let me know how I could make it work again?
Thanks!

I’m not a Roam user, but it looks to me as if you need a Markdown-style link. Try

• [Click this](x-devonthink-item://51E58530-CFD7-432C-A3BC-BDAC5D266709)

1 Like

Thank you! It works if I use the Markdown-style link.
Any idea what prevents the DETONthink link (unlink other weblinks) from being recognized as a hyperlink if inputted as a raw text?

It’s probably just that Roam needs to see “http” at the start of a raw text string to recognise it as a link, but is able to parse the form of a Markdown link so that whatever’s inside the round brackets gets treated as a link even if it doesn’t recognise the particular prefix.

A simple test in Logseq:

  • Recognized URL schemes: a://, b://, e://, f://, g://, and https://. URLs with these schemes are recognized as clickable hyperlinks.
  • Non-recognized URL shemes: c://, d://, and x-devonthink-item://. URLs with these schemes are not clickable in raw text.

Some schemes are recognized. Others are not. If there is a pattern, it is not an obvious one.

You need to talk to the Roam team about this. That’s not something we control.