How to create button with Metabind to new note in new tab

What I’m trying to do

Hello Obsidian community and Meta bind users!
I’ve been using the Meta bind plugin for a while now, to create new meeting notes using a button.
It’s nice but not optimized. So far, I’m able to create the new note and to open it. However, the note is always opened on the current note.

What I’d like is to be able to create and open the new note in a new tab (not pane).

Things I have tried

Here is a meta bind button script I’ve been using so far in combination with Templater. This script works cannot open new note in new tab.

label: New meeting
icon: ""
style: primary
class: ""
cssStyle: ""
backgroundImage: ""
tooltip: ""
id: ""
hidden: false
actions:
  - type: templaterCreateNote
    templateFile: 50_TEMPLATE/TMP - Meeting.md
    folderPath: MEETINGS
    fileName: ""
    openNote: true
    openIfAlreadyExists: false
  - type: command
    command: file-explorer:reveal-active-file

I was also thinking of creating the note and opening it in new tab. However, I don’t find a “open note in new tab” command in the command pane ctrl + p, even if it appear when right clicking on an existing note.

Cheers
Arthur

Did you find a solution to this? I am also wanting to do the same thing.

Unfortunately not… I tried things again yesterday but still not working. There might be things using javascript but I have no experience with this language.

label: This is a button
icon: ""
style: default
class: ""
cssStyle: ""
backgroundImage: ""
tooltip: ""
id: ""
hidden: false
actions:
  - type: open
    link: sys/home.md
    newTab: true

I generated this from the metabind button builder. If you can work out how to get the link you want into there, you’ll be golden.
I do a lot of rendering metabind with dataview, which lets me put something dynamic in these metabind blocks instead of something static.

1 Like

Thanks a lot, that’s exactly what I needed. I put my solution:

label: New meeting
icon: ""
style: primary
class: ""
cssStyle: ""
backgroundImage: ""
tooltip: ""
id: ""
hidden: false
actions:
  - type: templaterCreateNote
    templateFile: 50_TEMPLATE/TMP - Meeting.md
    folderPath: 111_MEETINGS/Research/3_KtZH/2025
    fileName: ""
    openNote: false
    openIfAlreadyExists: false
  - type: command
    command: file-explorer:reveal-active-file
  - type: open
    link: 111_MEETINGS/Research/3_KtZH/2025/Untitled.md
    newTab: true

Here the note title is Untitled which is fine for me as I can load it easily from folder an rename it manually rightafter.

1 Like

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