# Possible to change "Code" in Oject Type definition?

**URL:** <https://community.openbis.ch/t/possible-to-change-code-in-oject-type-definition/263>\
**Category:** Installation & maintenance\
**Created:** [27 October 2023 11:38 UTC](https://community.openbis.ch/t/possible-to-change-code-in-oject-type-definition/263 "2023-10-27T11:38:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kerzel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.openbis.ch/kerzel/32/30_2.png) [@kerzel](https://community.openbis.ch/u/kerzel)\
**Post date:** [27 October 2023 11:38 UTC](https://community.openbis.ch/t/possible-to-change-code-in-oject-type-definition/263/1 "2023-10-27T11:38:15Z")

</div>

Dear all,

we’re currently implementing (and revising) the metadata schema in openBIS.  
As with anything like that, in _hindsight_ it would be better to have named some properties better or some properties are similar enough to be merged into one, etc.

Since users have also already started to use the system, we reach the usual conundrum that it might be nicer to clean up some properties but we can’t really ask everyone to enter all data again and/or link them to their other records via parent/child relationships,e tc.

For example, an entity might be named “microscope” but it’s really an electron microscope.  
I can change the description but not the “code”. Of course, I can create the next type as “LIGHT\_MICROSCOPE” so, in practice, there isn’t really any confusion but it’s not _nice_…  
(Or someone might have entered “Kamera” instead of “Camera” for a property type, etc)  
It’s not a problem as such but, well, …

Many thanks  
Ulrich

---

<div class="post-metadata">

**Author:** ![cbarillari](https://dub1.discourse-cdn.com/flex013/user_avatar/community.openbis.ch/cbarillari/32/10_2.png) [@cbarillari](https://community.openbis.ch/u/cbarillari)\
**Post date:** [20 November 2023 07:43 UTC](https://community.openbis.ch/t/possible-to-change-code-in-oject-type-definition/263/2 "2023-11-20T07:43:44Z")

</div>

Dear Ulrich,

at the moment it is unfortunately not possible to change codes.  
We plan to lift restrictions on codes with the next major openBIS release, which we aim to have next year.

---

<div class="post-metadata">

**Author:** ![kerzel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.openbis.ch/kerzel/32/30_2.png) [@kerzel](https://community.openbis.ch/u/kerzel)\
**Post date:** [20 November 2023 08:02 UTC](https://community.openbis.ch/t/possible-to-change-code-in-oject-type-definition/263/3 "2023-11-20T08:02:44Z")

</div>

Dear @cbarillari ,  
many thanks. I agree it’s not a problem, it would be nice to be able to do that to iron out some things that sounded like a good idea at the time but as usage and experience increases…  
Thank you for thinking of it in some of the next major version updates.

best wishes  
Ulrich

---

<div class="post-metadata">

**Author:** ![cbarillari](https://dub1.discourse-cdn.com/flex013/user_avatar/community.openbis.ch/cbarillari/32/10_2.png) [@cbarillari](https://community.openbis.ch/u/cbarillari)\
**Post date:** [21 November 2023 07:47 UTC](https://community.openbis.ch/t/possible-to-change-code-in-oject-type-definition/263/4 "2023-11-21T07:47:00Z")

</div>

Closed on 21 November 2023 07:47 UTC


