# Org-store-link changed behavior, stopped storing org-roam links

**URL:** <https://org-roam.discourse.group/t/org-store-link-changed-behavior-stopped-storing-org-roam-links/3747>\
**Category:** Troubleshooting\
**Created:** [February 23, 2025, 10:43pm UTC](https://org-roam.discourse.group/t/org-store-link-changed-behavior-stopped-storing-org-roam-links/3747 "2025-02-23T22:43:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JeffBrown](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/jeffbrown/32/254_2.png) [@JeffBrown](https://org-roam.discourse.group/u/JeffBrown)\
**Post date:** [February 23, 2025, 10:43pm UTC](https://org-roam.discourse.group/t/org-store-link-changed-behavior-stopped-storing-org-roam-links/3747/1 "2025-02-23T22:43:58Z")

</div>

Hello!

I have had the following line in the org-roam section of my config for years:

```auto
(global-set-key (kbd "C-c n l") #'org-store-link)

```

When called under a (sub)headline with no properties drawer, it has always created one, and given it an ID. Now it doesn’t. Moreover, when I then call `org-insert-link`, it now creates a non-org-roam link, like this:

```auto
[[*see I'm Still Here][see I'm Still Here]]

```

What happened? I rely a lot on the prior functionality. Can it be recovered?

---

<div class="post-metadata">

**Author:** ![nobiot](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/nobiot/32/159_2.png) [@nobiot](https://org-roam.discourse.group/u/nobiot)\
**Post date:** [February 24, 2025, 3:45am UTC](https://org-roam.discourse.group/t/org-store-link-changed-behavior-stopped-storing-org-roam-links/3747/2 "2025-02-24T03:45:30Z")

</div>

> [@JeffBrown](#):
>
> What happened?

I think it’s this:

> [@\`org-roam-node-insert\` sometiems creates unwanted PROPERTIES drawer](https://org-roam.discourse.group/t/org-roam-node-insert-sometiems-creates-unwanted-properties-drawer/3740/7):
>
> Indeed, I was setting `org-id-link-to-org-use-id` to `t`. Setting that to nil did the trick.

---

<div class="post-metadata">

**Author:** ![JeffBrown](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/jeffbrown/32/254_2.png) [@JeffBrown](https://org-roam.discourse.group/u/JeffBrown)\
**Post date:** [March 9, 2025, 3:29pm UTC](https://org-roam.discourse.group/t/org-store-link-changed-behavior-stopped-storing-org-roam-links/3747/3 "2025-03-09T15:29:13Z")

</div>

Indeed it was. I guess i’ll have to hand-roll a function that creates an org-roam link without inserting a properties drawer under it, because it appears the two options in standard org-roam are a non org-roam link with no properties, or an org-roam link with properties.

---

<div class="post-metadata">

**Author:** ![nobiot](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/nobiot/32/159_2.png) [@nobiot](https://org-roam.discourse.group/u/nobiot)\
**Post date:** [March 9, 2025, 8:18pm UTC](https://org-roam.discourse.group/t/org-store-link-changed-behavior-stopped-storing-org-roam-links/3747/4 "2025-03-09T20:18:55Z")

</div>

> [@JeffBrown](#):
>
> function that creates an org-roam link without inserting a properties drawer under it, because it appears the two options in standard org-roam are a non org-roam link with no properties, or an org-roam link with properties.

I don’t understand what all of this means, but let me just say one thing just in case you haven’t seen it. `org-id-link-to-org-use-id` has options other than `t` and `nil`.

One of the following may be what you need.

```auto
create-if-interactive
      If ‘org-store-link’ is called directly (interactively, as a user
      command), do create an ID to support the link. But when doing the
      job for capture, only use the ID if it already exists. The
      purpose of this setting is to avoid proliferation of unwanted
      IDs, just because you happen to be in an Org file when you
      call ‘org-capture’ that automatically and preemptively creates a
      link. If you do want to get an ID link in a capture template to
      an entry not having an ID, create it first by explicitly creating
      a link to it, using ‘M-x org-store-link’ first.

create-if-interactive-and-no-custom-id
      Like create-if-interactive, but do not create an ID if there is
      a CUSTOM_ID property defined in the entry.

use-existing
      Use existing ID, do not create one

```

---

<div class="post-metadata">

**Author:** ![JeffBrown](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/jeffbrown/32/254_2.png) [@JeffBrown](https://org-roam.discourse.group/u/JeffBrown)\
**Post date:** [March 22, 2025, 12:36am UTC](https://org-roam.discourse.group/t/org-store-link-changed-behavior-stopped-storing-org-roam-links/3747/5 "2025-03-22T00:36:45Z")

</div>

Aha! _That_ seems to have really done the trick – 'use-existing is what I wanted. Thanks yet again, @nobiot!
