Using the note's ID, how to open note from an already running instance of Joplin?

Operating system

Windows

Joplin version

3.3.12

Desktop version info

Joplin 3.3.12 (prod, win32)

Device: win32, 12th Gen Intel(R) Core(TM) i9-12900K
Sync Version: 3
Profile Version: 47
Keychain Supported: Yes
Alternative instance ID: -

Revision: 4d790b6

Backup: 1.4.2
Conflict Resolution: 1.2.3
Convert Text To New Note: 1.5.1
Favorites: 1.3.2
Folding in Code Mirror Editor: 2.0.1
Freehand Drawing: 3.0.1
Hotfolder: 1.2.0
Inline tags: 1.3.0
Inline TODO: 1.7.4
Markdown Table: Sortable: 1.2.2
Note list and sidebar toggle buttons: 1.0.3
Note overview: 1.7.1
Note Tabs: 1.4.0
Outline: 1.5.13
Quick Links: 1.3.2
Rich Markdown: 0.15.1
Search & Replace: 2.2.0
Templates: 2.4.0

What issue do you have?

Using another app, how can I open a note from an already running instance of Joplin using the note's ID?

If I 'copy external link', I get: joplin://x-callback-url/openNote?id=41af4ba3943142a0aff1daaa152fc3g5

When calling that link from another app, such as AutoHotKey, it launches a new instance of Joplin and opens the desired note.

But since I already have Joplin running, I'd rather not open a new instance every time I access a note from an external app. Can I somehow use the note ID to open the note in the already running instance of Joplin?

I could use AutoHotKey to activate Joplin, but even CTRL+P and then pasting note ID in the search field does not work. I’d have to use CTRL+P then paste in the note’s title and select the first search result, which is a convoluted way to access a note for which I already have the ID.

1 Like

There is a very convoluted way: create a new note with an internal link to the target note by id eg `[target](:/41af4ba3943142a0aff1daaa152fc3g5)` then follow that link.

Imho you should post a feature request to finally implement id: search similar to already existing title:search.

UPDATE

On my already running Joplin Desktop 3.4.10 on MacOS, when I open joplin://x-callback-url/openNote?id=3d4b76a1dbec4c6f9d4406464a2267f8 URL in chrome, the note is opened in existing instance, no new instance is created.

Thus it should work.

I suggest you upgrade to 3.4.10 and/or create a new test profile and disable all plugins there. I highly doubt Mac/Windows is the cause of the different behaviors.

Interesting, when I paste the link into a chromium browser, it opens a new instance of Joplin.

I’ll try updating to latest version of Joplin.

On my already running Joplin Desktop 3.4.10 on MacOS, when I open joplin://x-callback-url/openNote?id=3d4b76a1dbec4c6f9d4406464a2267f8 URL in chrome, the note is opened in existing instance, no new instance is created.

After updating Joplin to v3.4.10, pasting link in chromium browser will open the note in joplin, but it does not make Joplin the active window. Does it work the same way on your Mac?

You can already do it on both desktop on mobile. On desktop make sure you search in the search bar though rather than using go to anything