Obsidian URI - new action silent flag not working correctly

Steps to reproduce

Obsidian URI using new action does not work correctly with silent flag. Regardless of if silent is used, executing the URI always opens the note.

Example:
obsidian://new?file=notename&silent=true&vault=test-vault

Expected result

For the file to be created without opening it

Actual result

New file is created and opened.

Environment

SYSTEM INFO:
	Obsidian version: v1.2.8
	Installer version: v1.0.3
	Operating system: Darwin Kernel Version 21.3.0: Wed Jan  5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T8101 21.3.0
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: Dracula Official v1.0.2
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 15
	Plugins enabled: 10
		1: Advanced Tables v0.17.3
		2: Dataview v0.5.47
		3: Outliner v4.1.1
		4: Copy button for code blocks v0.1.0
		5: Auto Link Title v1.2.5
		6: Editor Syntax Highlight v0.1.3
		7: Metadata Extractor v1.0.2
		8: Obsidian Git v2.10.1
		9: Dynamic Table of Contents v0.0.27
		10: Advanced Cursors v0.5.1

This order is working for me:

obsidian://new?vault=VAULT&name=NEWNOTE&silent

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.