I installed a custom extension which adds mac address on Tablet CI by following the guide. I'm just wondering if there is something that I missed or something that I need to be wary about in future upgrades. It seems to work as intended but I just want to make sure. Please see my datamodel xml below.
You could adjust the presentation part to define only your item instead of the whole presentation list, this way if the presentation evolves in the futures releases you will be compliant otherwise your extension will overwrite it.
To do so:
- Remove _delta from the details tag
- Put a _delta="define" on your item tag
- Remove all others item tags from your XML as they are not needed anymore, they will come from the iTop core modules
Hope it helps 😊
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
I installed a custom extension which adds mac address on Tablet CI by following the guide. I'm just wondering if there is something that I missed or something that I need to be wary about in future upgrades. It seems to work as intended but I just want to make sure. Please see my datamodel xml below.
Hi BJ F,
You could adjust the presentation part to define only your item instead of the whole presentation list, this way if the presentation evolves in the futures releases you will be compliant otherwise your extension will overwrite it.
To do so:
- Remove _delta from the details tag
- Put a _delta="define" on your item tag
- Remove all others item tags from your XML as they are not needed anymore, they will come from the iTop core modules
Hope it helps 😊
Thank you so much for your assistance Guillaume. That definitely helped a lot. Here is my final xml.
Last edit: BJ F 2018-12-12
This looks great! Glad it helped 😊
Thanks for sharing with the community!
Have a nice day,
Guillaume
Last edit: Guillaume Lajarige 2018-12-12