# Custom fields issue

**URL:** <https://invenio-talk.web.cern.ch/t/custom-fields-issue/361>\
**Category:** General Discussion\
**Created:** [7 April 2024 16:36 UTC](https://invenio-talk.web.cern.ch/t/custom-fields-issue/361 "2024-04-07T16:36:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gilleslandais](https://invenio-talk.web.cern.ch/user_avatar/invenio-talk.web.cern.ch/gilleslandais/32/275_2.png) [@gilleslandais](https://invenio-talk.web.cern.ch/u/gilleslandais)\
**Post date:** [7 April 2024 16:36 UTC](https://invenio-talk.web.cern.ch/t/custom-fields-issue/361/1 "2024-04-07T16:36:04Z")

</div>

Hi,  
I test Invenio for my Data Center (installed with instructions available in the documentation [Quick start - Turn-key research data management repository](https://inveniordm.docs.cern.ch/install/)) and I would like to customize the application with added field in the upload form. I followed the Documentation ([Add fields to records - Turn-key research data management repository](https://inveniordm.docs.cern.ch/customize/metadata/custom_fields/records/)) but it fails:

```auto
 from invenio_records_resources.services.custom_fields import TextCF
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
Cell In[17], line 1
----> 1 from invenio_records_resources.services.custom_fields import TextCF

ModuleNotFoundError: No module named 'invenio_records_resources.services.custom_fields'

```

It seems that the package invenio\_records\_resources.services was not in the good version.  
my pipenv environment says: invenio-records-resources 0.19.19

Do I miss something? Can you help ?  
Thank you!

---

<div class="post-metadata">

**Author:** ![ptamarit](https://invenio-talk.web.cern.ch/letter_avatar_proxy/v4/letter/p/b38774/32.png) [@ptamarit](https://invenio-talk.web.cern.ch/u/ptamarit)\
**Post date:** [16 April 2024 11:39 UTC](https://invenio-talk.web.cern.ch/t/custom-fields-issue/361/2 "2024-04-16T11:39:25Z")

</div>

Hello,

_Sorry for not answering earlier._

Seeing the error message, I think that you [scaffolded InvenioRDM v9.1](https://inveniordm.docs.cern.ch/install/#3-scaffold-project).

If this is the case, your problem is due to the fact that [custom fields were introduced in InvenioRDM v10](https://inveniordm.docs.cern.ch/customize/metadata/custom_fields/records/), so scaffolding/upgrading to a newer version (e.g. v11.0) should fix the problem.

Let me know if it helps.

---

<div class="post-metadata">

**Author:** ![gilleslandais](https://invenio-talk.web.cern.ch/user_avatar/invenio-talk.web.cern.ch/gilleslandais/32/275_2.png) [@gilleslandais](https://invenio-talk.web.cern.ch/u/gilleslandais)\
**Post date:** [18 April 2024 12:46 UTC](https://invenio-talk.web.cern.ch/t/custom-fields-issue/361/3 "2024-04-18T12:46:12Z")

</div>

Thank you for the response,  
I confirm that we used version 9.1, we will update for v10.0
