Menu

Removig Contacts section from New user request.

Bananaman
2021-08-13
2021-08-13
  • Bananaman

    Bananaman - 2021-08-13

    Good afternoon,

    Could you give me advice on how to remove the Contacts list from tickets?
    I don't want this section to be visible. If there is a config option it's
    so hidden I could not find it.

    Sincerely,
    Bananaman.

    [image: owtoremove.jpg]

     
  • Guillaume Lajarige

    Hello Toms,

    You can easily remove the "Contacts" by overloading the corresponding form in the datamodel.
    To do so, you will need:
    * to make your own iTop extension
    * redefine the whole (unfortunately) TWIG section, and remove the "contact_list" attribute from it
    * then run a setup and it should be ok

    You can take a look at this tutorial which puts an attribute as mandatory. You just have to adapt it to remove a node instead of altering one.

    Important: Keep in mind that there is a form defined for the ticket creation and another one for ticket editing, you might want to alter both.

    Hope this helps,
    Guillaume

     

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.