We have a custom extension for the Change Management part of iTop.
It changes the categories and also it sets a specific change manager for that category. One of the users who is a change manager has left so I've gone into the .XML file under extensions and change it to there replacement. I saved the file and reran the setup however as the extension is already installed it doesn't seem to update. I also tried changing the .xml file in the env-production folder for the extension and this didn't work either.
I've attached the .xml, its the line below, I'm wanting to replace Dan Hickman with the new person,
<filter>
<![CDATA[SELECT Person WHERE Person.friendlyname = IF(:this->category = 'applications', "James LoCicero", IF(:this->category = 'operations', "Dan Hickman", "Craig Coccaro"))]]>
</filter>
In the attached XML I still see Dan Hickman listed. Change it there first. You need to adjust the contents of the extension under iTopDir/extensions/unique-change-mgmt/datamodel.unique-change-mgmt.xml if done properly; and re-run the setup.
Don't edit in the env-folders.
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Morning,
We have a custom extension for the Change Management part of iTop.
It changes the categories and also it sets a specific change manager for that category. One of the users who is a change manager has left so I've gone into the .XML file under extensions and change it to there replacement. I saved the file and reran the setup however as the extension is already installed it doesn't seem to update. I also tried changing the .xml file in the env-production folder for the extension and this didn't work either.
I've attached the .xml, its the line below, I'm wanting to replace Dan Hickman with the new person,
<filter>
<![CDATA[SELECT Person WHERE Person.friendlyname = IF(:this->category = 'applications', "James LoCicero", IF(:this->category = 'operations', "Dan Hickman", "Craig Coccaro"))]]>
</filter>
Do you see the change reflected in the Change class when you browse the datamodel through the GUI?
https://youritop.env/pages/schema.php?operation=details_class&class=Change&c[menu]=DataModelMenu
Hi Jeffrey, sorry for the delay.
Just found the reference in the data model and it has not changed.
In the attached XML I still see Dan Hickman listed. Change it there first. You need to adjust the contents of the extension under iTopDir/extensions/unique-change-mgmt/datamodel.unique-change-mgmt.xml if done properly; and re-run the setup.
Don't edit in the env-folders.