Org-roam automatically creates heading id after capturing a new note

Lets say i am in a node which this content
[cursor] means cursor is there

:properties:
:id: something-random
:end:

* heading 1
[cursor]

Now i use org-roam-node-find to capture note after capturing the note.
When you return back to your note 1 the heading 1 gets an id.
And this is the result after capturing a new note.

:properties:
:id: something-random
:end:

* heading 1
:properties:
:id: new-id-added
:end:

[cursor]

how can i get rid of this behaviour.

I don’t want org-roam to create ids to headlines like this.

Let us clearly understand what exactly you do here.

  1. You have your cursor as you describe
  2. You call M-x org-roam-node-find and type a new title that does not have a file yet
  3. You select a capture template (what is your capture template?) and create a new file
  4. You press C-c C-c to complete the capture. Does this automatically take you back to note 1 where you started from? Or does this take you to the new file you just created?
  5. How do you β€œgo back to note 1”?

If this is (roughly) as you do, Org-roam does not add a new ID to heading 1 as you describe. Mine does not.

Perhaps this is not your procedure. In this case, I suggest you describe yours with more detail and precision so that others can try to reproduce the problem.

1 Like

You were right i had this code snippet added some where in my config that was causing this behavior

(setq org-id-link-to-org-use-id t)