# How to prevent \`org-roam-capture\` from adding ID property?

**URL:** <https://org-roam.discourse.group/t/how-to-prevent-org-roam-capture-from-adding-id-property/2669>\
**Category:** Troubleshooting\
**Created:** [June 26, 2022, 3:35pm UTC](https://org-roam.discourse.group/t/how-to-prevent-org-roam-capture-from-adding-id-property/2669 "2022-06-26T15:35:46Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [June 28, 2022, 9:48am UTC](https://org-roam.discourse.group/t/how-to-prevent-org-roam-capture-from-adding-id-property/2669/6 "2022-06-28T09:48:50Z")

</div>

I do the following for my Md-roam to avoid Org-roam adding an Org-ID to the top of the file.

> <https://github.com/nobiot/md-roam/blob/main/md-roam.el#L207-L208>

My previous suggestion might be simpler to implement. I don’t use headline nodes, so you would need to adjust the code. This adds advice and then uses a hook to clean up the advice – yes, a bit convoluted but this is a technique Org-roam uses in some cases.

---

_[View the full topic](https://org-roam.discourse.group/t/how-to-prevent-org-roam-capture-from-adding-id-property/2669)._
