Link Obsidian with AdvancedURI Plugin

sure thing. How about a video that demonstrates the issue: CleanShot 2023 07 13 at 13 40 21 - YouTube

1 Like

Before I updated my advance URI plugin, it created new notes with the frontmatter most of the time. After I updated it to the latest version, it doesn’t do that any more. And I got the following error.

I changed the parameter filename to filepath, but got the same error.

@Vinzent03 , could you please help us? Perhaps we missed something.

Thank you

Bi Ling

Received URL action {filename: 'Quiz%201.1-1.3.md', data: '[Quiz%201.1-1.3](hook://notes/dt/1659450027)', mode: 'new', x-success: 'hook://x-callback-url/link-to-new?src=hook://notes…VpeiAxLjEtMS4z&urlKey=advanceduri&plusencoded=yes', x-error: 'hook://x-callback-url/error', …}
plugin:obsidian-advanced-uri:4533 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'frontmatter')
    at Tools.eval (plugin:obsidian-advanced-uri:4533:68)
    at step (plugin:obsidian-advanced-uri:83:23)
    at Object.eval [as next] (plugin:obsidian-advanced-uri:64:53)
    at eval (plugin:obsidian-advanced-uri:57:71)
    at new Promise (<anonymous>)
    at __awaiter (plugin:obsidian-advanced-uri:53:12)
    at Tools.getUIDFromFile (plugin:obsidian-advanced-uri:4513:16)
    at Tools.eval (plugin:obsidian-advanced-uri:4563:51)
    at step (plugin:obsidian-advanced-uri:83:23)
    at Object.eval [as next] (plugin:obsidian-advanced-uri:64:53)
eval @ plugin:obsidian-advanced-uri:4533
step @ plugin:obsidian-advanced-uri:83
eval @ plugin:obsidian-advanced-uri:64
eval @ plugin:obsidian-advanced-uri:57
__awaiter @ plugin:obsidian-advanced-uri:53
Tools.getUIDFromFile @ plugin:obsidian-advanced-uri:4513
eval @ plugin:obsidian-advanced-uri:4563
step @ plugin:obsidian-advanced-uri:83
eval @ plugin:obsidian-advanced-uri:64
eval @ plugin:obsidian-advanced-uri:57
__awaiter @ plugin:obsidian-advanced-uri:53
Tools.generateURI @ plugin:obsidian-advanced-uri:4549
eval @ plugin:obsidian-advanced-uri:4871
step @ plugin:obsidian-advanced-uri:83
eval @ plugin:obsidian-advanced-uri:64
eval @ plugin:obsidian-advanced-uri:57
__awaiter @ plugin:obsidian-advanced-uri:53
AdvancedURI.hookSuccess @ plugin:obsidian-advanced-uri:4860
eval @ plugin:obsidian-advanced-uri:3961
step @ plugin:obsidian-advanced-uri:83
eval @ plugin:obsidian-advanced-uri:64
fulfilled @ plugin:obsidian-advanced-uri:54
Promise.then (async)
step @ plugin:obsidian-advanced-uri:56
eval @ plugin:obsidian-advanced-uri:57
__awaiter @ plugin:obsidian-advanced-uri:53
AdvancedURI.hookSuccess @ plugin:obsidian-advanced-uri:4860
eval @ plugin:obsidian-advanced-uri:3961
step @ plugin:obsidian-advanced-uri:83
eval @ plugin:obsidian-advanced-uri:64
fulfilled @ plugin:obsidian-advanced-uri:54
Promise.then (async)
step @ plugin:obsidian-advanced-uri:56
eval @ plugin:obsidian-advanced-uri:57
__awaiter @ plugin:obsidian-advanced-uri:53
Handlers.handleWrite @ plugin:obsidian-advanced-uri:3902
eval @ plugin:obsidian-advanced-uri:4787
step @ plugin:obsidian-advanced-uri:83
eval @ plugin:obsidian-advanced-uri:64
eval @ plugin:obsidian-advanced-uri:57
__awaiter @ plugin:obsidian-advanced-uri:53
eval @ plugin:obsidian-advanced-uri:4679
t @ app.js:1
(anonymous) @ VM172:1
(anonymous) @ node:electron/js2c/renderer_init:93
(anonymous) @ node:electron/js2c/renderer_init:81
emit @ node:events:527
onMessage @ node:electron/js2c/renderer_init:69

@bchend Thanks for the report. Should be fixed in 1.36.4.

Thank you so much for fixing it so quickly, @Vinzent03 ! I just tested, it worked perfectly for me.

@technovangelist , could you please update “Advance URI plugin” in Obsidian to the latest version and see if it resolves the problem?

Thank you

still creating new files each time i hook it

Do you mean “Hook to New Obsidian” creating a new note each time? This is by design. With the latest “Advanced URI plugin”, you should be able to see the newly created Obsidian note in “Hooked” section. If you don’t want to create a note each time , you can open the existing Obsidian note.

1 Like