I'm searching to hide a field / dashlet like "Rack" in the attachments. I don't want to delete the Rack's class but i don't want to see the Rack's dashlet on the page too.
I found this XML in "datamodel.itop-datacenter-mgmt" :
You'll see two mistakes: an <item> tag which should actually be a closing tag </item>; and also that the attribute _delta is missing an equal sign: _delta="define"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello !
I'm searching to hide a field / dashlet like "Rack" in the attachments. I don't want to delete the Rack's class but i don't want to see the Rack's dashlet on the page too.
I found this XML in "datamodel.itop-datacenter-mgmt" :
I don't know what parameter I can use to hide the dashlet.
Thank you !
Last edit: Boleyno 2022-12-13
You should create an extension to delete (
_delta="delete"
) that specific node if you want to be a bit mure future-proof.Then, re-run the setup.
Thank you so much ! That work
But i have another question !
How to delete an item when this item is on a "category".
Exemple <item id="rack_id"> on this code : </item>
In this code, if I do the next xml code (with the good tab) , I have an error.
Last edit: Boleyno 2022-12-14
As the error message explains, mind to close each "items" tag. Try some XML formatting to see more easily where it goes wrong.
Try to paste your code here: https://www.freeformatter.com/xml-formatter.html
You'll see two mistakes: an
<item>
tag which should actually be a closing tag</item>
; and also that the attribute_delta
is missing an equal sign:_delta="define"
Thank you so mutch for giving me this tool ! That help me !