Skip to main content

Problem when deleting a field from an entity

  • Sep 11, 2024 2:14 PM UTC
  • 2 replies
  • 23 views

James Mitchell
Forum|alt.badge.img+1

I discovered an issue when I deleted a field from an entity. After deleting it from our development IDE environment, I exported the entity into an xml file so that I could import it into our test IDE environment. When I imported it into this environment, the field is still present.

I examined the xml file and the field isn't there so I would expect that when I import it into another environment, the field would not appear.

Maybe importing does a "merge" rather than a "replace"? I would expect the latter.

Thank you for your help.



------------------------------
James Mitchell
State of Oregon
Salem OR US
------------------------------

2 replies

OsmanShariff
Forum|alt.badge.img+3
  • Participating Frequently
  • Sep 12, 2024 7:11 AM UTC

I discovered an issue when I deleted a field from an entity. After deleting it from our development IDE environment, I exported the entity into an xml file so that I could import it into our test IDE environment. When I imported it into this environment, the field is still present.

I examined the xml file and the field isn't there so I would expect that when I import it into another environment, the field would not appear.

Maybe importing does a "merge" rather than a "replace"? I would expect the latter.

Thank you for your help.



------------------------------
James Mitchell
State of Oregon
Salem OR US
------------------------------

An import will only do an insert/update... It does not delete data.

You should delete all the entity to be imported data, before doing an import.



------------------------------
Osman Shariff
------------------------------

James Mitchell
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • Sep 12, 2024 11:32 AM UTC

An import will only do an insert/update... It does not delete data.

You should delete all the entity to be imported data, before doing an import.



------------------------------
Osman Shariff
------------------------------

Thank you, Osman. I will make a note of this in my procedures.



------------------------------
James Mitchell
State of Oregon
Salem OR US
------------------------------