Draft action with URI auto returns to draft?

Hi all

I have created this simple action

obsidian://advanced-uri?vault=iPKM&filepath=20.food/[[safe_title]].md&data=[[draftbody]]&line=3&viewmode=reading

which works really great BUT after launching the action it auto focuses drafts back.

this is strange since if I run the same action in Keyboard Maestro or shortcuts the action opens obsidian and stays focus on it

is this by design? and if so is there a way to disable this?

thx so much

Z

I think the callback url step adds e.g. „x-success“ parameters and e.g. tells the target app (in your case obsidian) to open drafts again.

If you change the step from a „callback url“ to „URL“ And paste the same url into it it should work as you expect.

1 Like

perfect !

thx so much @FlohGro !!

Z

1 Like