Menu

Updating a custom extension

2021-11-15
2021-12-06
  • Mark McElhenny

    Mark McElhenny - 2021-11-15

    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>

     
  • Mark McElhenny

    Mark McElhenny - 2021-12-06

    Hi Jeffrey, sorry for the delay.

    Just found the reference in the data model and it has not changed.

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2021-12-06

    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

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.