# Exlude org-noter-insert notes from being cached as nodes

**URL:** <https://org-roam.discourse.group/t/exlude-org-noter-insert-notes-from-being-cached-as-nodes/2017>\
**Category:** Troubleshooting\
**Created:** [September 8, 2021, 4:46am UTC](https://org-roam.discourse.group/t/exlude-org-noter-insert-notes-from-being-cached-as-nodes/2017 "2021-09-08T04:46:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [September 8, 2021, 8:48am UTC](https://org-roam.discourse.group/t/exlude-org-noter-insert-notes-from-being-cached-as-nodes/2017/2 "2021-09-08T08:48:05Z")

</div>

@mandelbot  
As far as I can see, `org-noter` itself does not add an ID to notes by with `org-noter-insert-precise-note`. (My PDF notes have no IDs).

I believe you have additional packages, probably `org-noter-pdftools`, which has this customizing variable:

```auto
(defcustom org-noter-pdftools-use-org-id t
  "When non-nil, an org-id is generated for each heading for linking with PDF annotations and record entry parents."
  :group 'org-noter
  :type 'boolean)

```

If you don’t need IDs, I guess you can try turning it off and see what happens.

Alternatively, [Section 6.1 of the Org-roam manual](https://www.orgroam.com/manual.html#What-to-cache) mentions `ROAM_EXCLUDE` so you should be able to add an additional property either manually or automatically via some custom function.

```auto
* Foo
  :PROPERTIES
  :ID: foo
  :ROAM_EXCLUDE: t
  :END:

```

Edit:  
Option 3 would be to use `org-roam-db-node-include-function`.

The section referenced above contains this sample code:

```auto
(setq org-roam-db-node-include-function
      (lambda ()
        (not (member "ATTACH" (org-get-tags)))))

```

As your Org-noter headings contain `NOTER_PAGE` property, I think you can add something like this.

```auto
(setq org-roam-db-node-include-function
      (lambda ()
        (not (cdr (assoc "NOTER_PAGE" (org-entry-properties)))))))

```

I don’t have time to test this idea; perhaps someone can jump in.

---

_[View the full topic](https://org-roam.discourse.group/t/exlude-org-noter-insert-notes-from-being-cached-as-nodes/2017)._
