# 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:** 9

<div class="post-metadata">

**Author:** ![mnb100](https://avatars.discourse-cdn.com/v4/letter/m/5f8ce5/32.png) [@mnb100](https://org-roam.discourse.group/u/mnb100)\
**Post date:** [February 24, 2023, 4:35pm UTC](https://org-roam.discourse.group/t/org-capture-template-expansion-properties-prompt-references/2993/9 "2023-02-24T16:35:45Z")

</div>

I don’t fully understand how this approach would solve the second problem (referencing the prompt in the template):

> [@mnb100](#):
>
> ```auto
> ("d" "default" plain 
> "This is a note about %\\1
> %?"
> :target (file+head "%<%Y%m%d%H%M%S>-${slug}.org" 
> ":PROPERTIES:
> :FOO: %^{foo prompt}
> :END:
> ")
> :unnarrowed t)
> 
> ```

But I guess I need to compromise and enter the same input for multiple prompts (discard the usage of prompt references altogether).

I thought there might be a solution which is less risky than what you have suggested [here](https://org-roam.discourse.group/t/how-to-prevent-org-roam-capture-from-adding-id-property/2669/6).

> [@nobiot](#):
>
> I’d create a custom function and add it to org-capture-after-finalize-hook.

> [@nobiot](#):
>
> `; if not, move point,`

I think finding the correct point would be rather difficult and unintuitive in the general case (as the references can occur at arbitrary places in the template).

---

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