# Problem with the owner of the Documents under the Contact

**URL:** <https://community.spicecrm.io/t/problem-with-the-owner-of-the-documents-under-the-contact/286>\
**Category:** Uncategorized\
**Created:** [March 31, 2018, 6:05pm UTC](https://community.spicecrm.io/t/problem-with-the-owner-of-the-documents-under-the-contact/286 "2018-03-31T18:05:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mwiegele](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.spicecrm.io/mwiegele/32/122_2.png) [@mwiegele](https://community.spicecrm.io/u/mwiegele)\
**Post date:** [March 31, 2018, 6:05pm UTC](https://community.spicecrm.io/t/problem-with-the-owner-of-the-documents-under-the-contact/286/1 "2018-03-31T18:05:47Z")

</div>

When a user creates a new Document under the Contact the owner is not assigned and the user is not able to see the newly created document in My documents dashlet for instance. How can I fix that?

Best regards, Matjaž

---

<div class="post-metadata">

**Author:** ![maretval](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@maretval](https://community.spicecrm.io/u/maretval)\
**Post date:** [April 1, 2018, 7:34pm UTC](https://community.spicecrm.io/t/problem-with-the-owner-of-the-documents-under-the-contact/286/2 "2018-04-01T19:34:45Z")

</div>

Matjaž,  
you use quick create functionality for document, don’t you?  
assigned user is not set in quickcreatedefs, that’s why assigned user is not saved to document.  
We will correct that in next spicecrm release.  
Until then you may customize modules/Documents/metadata/quickcreatedefs.php:

1. Copy /Paste the file to custom/modules/Documents/metadata/quickcreatedefs.php
2. Add array(‘name’ =\> ‘assigned\_user\_name’) after description (see screenshot)  
 ![grafik](https://canada1.discourse-cdn.com/flex030/uploads/spicecrm/original/1X/8ffc8b55ce905286a6e51ed75ab6a259662cbd5b.png)  
3.Do repair/rebuild

Val

---

<div class="post-metadata">

**Author:** ![mwiegele](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.spicecrm.io/mwiegele/32/122_2.png) [@mwiegele](https://community.spicecrm.io/u/mwiegele)\
**Post date:** [April 3, 2018, 8:17pm UTC](https://community.spicecrm.io/t/problem-with-the-owner-of-the-documents-under-the-contact/286/3 "2018-04-03T20:17:49Z")

</div>

Hi Val,

thank you for your answer. Quick create works well now.

Best regards, Matjaž
