NotePlan
NotePlan
Jan 18

Callback Scheme /openNote Folder

The [/openNote](https://help.noteplan.co/article/49-x-callback-url-scheme#op…) callback scheme is great! The one drawback is there is no way to differentiate files when there are multiple with the same name. It would be great to provide a folder path or durable file-id to resolve any ambiguity on the desired file. For example, in each of my top-level folders I have a README and it would be great to link to the README from other folders. However the current behavior will only link to the nearest README.
PendingPending

Feb 5, 2022

Indeed, I have updated the documentation. If you are using `filename`, you have to define the relative path. However, the request is till valid if you want to use the note title. Here's the updated documentation: > filename: optional to identify a note by filename instead of title or date. You have to use the relative path, which means including the folders (e.g. "folder/note.txt"). If the folder or filename contains spaces and possibly other characters which are not supported in an URL, you need to URL-encode them. A space becomes "%20" for example. You get the correct URL by using the "Copy URL to Note" feature in the note menu (see menu icon top right inside the editor). Searches first regular notes and if nothing found tries to convert the filename into a date.

Jan 19, 2022

Turns out this is possible... You'll need to use the []() syntax instead of [[]], enter the display name you want in the [] and then from the target page (at least on a Mac) go to the '...' in the upper right and select "Copy URL to Note". Also, if you look at the structure of the copied url, you'll see it is exactly what I was looking for, a path to the file name.

Jan 19, 2022

Joseph Carroll: glad it's possible. Sounds like this becomes a documentation improvement request!