28
Views
5
Comments
The entity was automatically renamed after publish.

Hello,

After removing an attribute from an “Entity” in Outsystems ODC, it was automatically renamed to “Entity2”. The entity itself was not renamed, and the “2” suffix appeared after publication. Now, Studio won’t let me remove the “2” suffix. How can I fix this?

There is no structure, other entity, or anything of the sort preventing the renaming.

2026-01-28 16-57-48
Mihai Melencu
Champion

Hi @Moacir Henrique Morais Baruffi ,

Make sure you are not referencing something from another module with the same name.

UserImage.jpg
Moacir Henrique Morais Baruffi

Hi @Mihai Melencu,

There is nothing in the app with that name.

An attribute was deleted, and after publication, a “2” appeared in the entity name.

2026-01-28 16-57-48
Mihai Melencu
Champion
2024-07-12 05-57-50
Gourav Shrivastava
Champion

Hello @Moacir Henrique Morais Baruffi 

This usually happens because ODC thinks the original entity name already exists.

You can try these steps:

  • Do a Refresh All Dependencies
  • Publish the app again
  • Close and reopen Service Studio
  • Try renaming the entity temporarily to something else (example: EntityTemp), publish, then rename back to the original name
UserImage.jpg
Moacir Henrique Morais Baruffi

Hi,

I discovered what the problem was: for some reason, Studio detected a name conflict between a server action called "GetTests" and an entity action called "Test," and this was causing the problem.

The worst part is that this action had existed for a long time and only started causing conflicts now, even though there are no other actions in the entity with the same name.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.