# BUG: References aren't created for entities linked in Documents

**URL:** <https://community.fibery.io/t/bug-references-arent-created-for-entities-linked-in-documents/2816>\
**Category:** Bugs & Issues\
**Created:** [May 18, 2022, 5:39pm UTC](https://community.fibery.io/t/bug-references-arent-created-for-entities-linked-in-documents/2816 "2022-05-18T17:39:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_Blais](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/matt_blais/32/1464_2.png) [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Post date:** [May 18, 2022, 5:39pm UTC](https://community.fibery.io/t/bug-references-arent-created-for-entities-linked-in-documents/2816/1 "2022-05-18T17:39:51Z")

</div>

If I link-to (Ctrl+L) or create (Ctrl+E) an entity inline in a Document, the Document does not show up in the entity’s References.

This breaks the ability of Rules to automate entity creation setup via a reference 😟 e.g. using the new entity’s “creation context” (a reference to the containing entity/doc) to set up fields like the related Project, Workflow assignment, etc.

---

<div class="post-metadata">

**Author:** ![Matt\_Blais](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/matt_blais/32/1464_2.png) [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Post date:** [May 24, 2022, 8:03pm UTC](https://community.fibery.io/t/bug-references-arent-created-for-entities-linked-in-documents/2816/2 "2022-05-24T20:03:19Z")

</div>

@mdubakov  
Is this likely to get fixed, or is it a permanent feature of Documents?

---

<div class="post-metadata">

**Author:** ![mdubakov](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/mdubakov/32/10_2.png) [@mdubakov](https://community.fibery.io/u/mdubakov)\
**Post date:** [May 25, 2022, 11:03am UTC](https://community.fibery.io/t/bug-references-arent-created-for-entities-linked-in-documents/2816/3 "2022-05-25T11:03:09Z")

</div>

Hmm, this should work if I get the problem. When you create an Entity X from Document A, the document A should be visible in Entity X references.

---

<div class="post-metadata">

**Author:** ![JoelH](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/joelh/32/5193_2.png) [@JoelH](https://community.fibery.io/u/JoelH)\
**Post date:** [November 11, 2022, 6:31am UTC](https://community.fibery.io/t/bug-references-arent-created-for-entities-linked-in-documents/2816/4 "2022-11-11T06:31:09Z")

</div>

FWIW, I stumbled on this post when I was looking for something and I think this bug is fixed?

At least, when I tested to link to a entity from inside a Document today, it seems to work as I expected.

✅ When linking from a Document contained in an entity to another entity, reference is added

✅ When linking from a Document contained in an entity to the same entity, reference is added

❌ When linking from a Document you’ve created in your My Space area, reference is not added

- But I don’t expect that to work, since My Space area is private to the User

There is a small delay as you link until the reference is added, but that feels expected.

---

<div class="post-metadata">

**Author:** ![mdubakov](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/mdubakov/32/10_2.png) [@mdubakov](https://community.fibery.io/u/mdubakov)\
**Post date:** [November 22, 2022, 3:11pm UTC](https://community.fibery.io/t/bug-references-arent-created-for-entities-linked-in-documents/2816/5 "2022-11-22T15:11:34Z")

</div>


