I'm trying to delete a field not just from the UI but also from the database/datamodel. I attempted using _delta="delete" and _delta="delete_if_exists", but neither approach worked as expected—the field still remains in the datamodel.
Is there a proper way to completely remove a field so that it's deleted from both the UI and the database? Any guidance or suggestions would be greatly appreciated!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Indeed, to remove them from the datamodel, you'd need to create an iTop extension.
There's some really good documentation by Combodo. And some official examples; but there's a lot more in this repository too on how to accomplish certain things.
I'm trying to delete a field not just from the UI but also from the database/datamodel. I attempted using _delta="delete" and _delta="delete_if_exists", but neither approach worked as expected—the field still remains in the datamodel.
Is there a proper way to completely remove a field so that it's deleted from both the UI and the database? Any guidance or suggestions would be greatly appreciated!
Indeed, to remove them from the datamodel, you'd need to create an iTop extension.
There's some really good documentation by Combodo. And some official examples; but there's a lot more in this repository too on how to accomplish certain things.
Most useful resources are:
https://www.itophub.io/wiki/page?id=latest:customization:xml_reference
https://www.itophub.io/wiki/page?id=latest:customization:datamodel#content_of_a_module
https://www.itophub.io/wiki/page?id=latest:customization:portal_xml
To delete them from the database; you'd need to run the toolkit and/or some SQL commands.