Windows app doesn't handle supernotes://?card_id=* URIs

I’d like to have (not published) links to specific cards (let’s think of them as shortcuts) so that when I click on them from external apps and the link is forwarded to Supernotes to handle it, the app opens on a specified card. I do not want to generate public link for it.

I noticed that Android app handles supernotes://?card_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx without problems, but on Windows I’m navigated to Home (when app is closed) or get 404 (when app already opened).

1 Like

Hi @marcmlyn, thanks for your bug report.

Seems like the Windows app isn’t handling the question mark to denote the query param correctly. In the meantime try removing the question mark and it should work you, supernotes://card_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. We will make this more robust in an upcoming release.

2 Likes

When I try to copy card deep link with these steps (with windows desktop app):
1 focus one card
2 ctrl+k
3 interact this card menu
4 copy card link
5 I can get the link like “supernotes://?card_id=xxx-xxx-xxx”
but the correct link format is “supernotes://card_id=xxx-xxx-xxx”

I’ve tried this flow many times.

Hi @EternalSummer, thanks for the report.

The Windows desktop app is designed to handle urls with a question mark, I’ve reopened this topic and we’ll look into fixing this.

1 Like

We’ve revamped the custom URL schemes to be more consistent across all platforms, so this should hopefully work better now.

However do note that supernotes://?card_id=XYZ is actually not valid syntax.

Please use supernotes:/?preview=XYZ if you’d like to hotlink to a card in Preview, or supernotes:/v/card/XYZ if you’d like to open a card directly in the Noteboard.

1 Like