# Org-capture template expansion properties & prompt references

**URL:** <https://org-roam.discourse.group/t/org-capture-template-expansion-properties-prompt-references/2993>\
**Category:** Requests\
**Created:** [February 23, 2023, 8:22pm UTC](https://org-roam.discourse.group/t/org-capture-template-expansion-properties-prompt-references/2993 "2023-02-23T20:22:27Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![lyndhurst](https://avatars.discourse-cdn.com/v4/letter/l/91b2a8/32.png) [@lyndhurst](https://org-roam.discourse.group/u/lyndhurst)\
**Post date:** [April 24, 2024, 12:37pm UTC](https://org-roam.discourse.group/t/org-capture-template-expansion-properties-prompt-references/2993/14 "2024-04-24T12:37:22Z")

</div>

Hi, I am sorry if my question is dumb, but I am new to (doom) emacs, and I kind of struggle with elisp to be frank.

This snippet seems to do exactly what I am looking for, but if I copy it to my config, what I understand is a variable binding method `let` at the end of the code gets executed on startup prompting me for the variable’s value.

Can someone please show me how to modify the code so I can re-use it ?  
Thanks for your time.

PS: I am also aware of the guidelines, and this reply is obviously an ask for help, and does not improve the conversation but I thought starting a new thread to reference this one was overkill and who knows it can help some other beginner like me in the future.

EDIT: Question moved to [this thread](https://org-roam.discourse.group/t/org-roam-templates-reuse-prompted-values-within-a-template/3443).

---

_[View the full topic](https://org-roam.discourse.group/t/org-capture-template-expansion-properties-prompt-references/2993)._
