# Using one-to-many or many-to-many field shortcuts in markdown template

**URL:** <https://community.fibery.io/t/using-one-to-many-or-many-to-many-field-shortcuts-in-markdown-template/5597>\
**Category:** Get Help\
**Created:** [December 29, 2023, 2:55pm UTC](https://community.fibery.io/t/using-one-to-many-or-many-to-many-field-shortcuts-in-markdown-template/5597 "2023-12-29T14:55:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tommaso\_Bernini](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tommaso_bernini/32/8224_2.png) [@Tommaso\_Bernini](https://community.fibery.io/u/Tommaso_Bernini)\
**Post date:** [December 29, 2023, 2:55pm UTC](https://community.fibery.io/t/using-one-to-many-or-many-to-many-field-shortcuts-in-markdown-template/5597/1 "2023-12-29T14:55:41Z")

</div>

Hi everyone,  
I’ve created an automation that appends in the description field of an item in database A, the content of another item in database B that has a many-to-many relation with A.  
I’ve used the formula {- Field Name in A.Field1 Name in B -} as described in the section “Using one-to-many or many-to-many field shortcuts” inside the [Markdown Template Guide](https://the.fibery.io/@public/search/4pDEX#User_Guide/Guide/Markdown-Templates-53) however, instead of the field’s value I get its Id.  
Does someone has any idea about what I’m supposedly doing wrong?

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [December 29, 2023, 8:02pm UTC](https://community.fibery.io/t/using-one-to-many-or-many-to-many-field-shortcuts-in-markdown-template/5597/2 "2023-12-29T20:02:41Z")

</div>

You’re not doing anything wrong. Accessing rich text for a related entity only works for to-one relations.  
You can access primitive fields for entities in collection relations this way, but not rich text.
