Skip to content

jbostoen/itop-jb-contactmethod

Repository files navigation

jb-contactmethod

Copyright (c) 2019-2024 Jeffrey Bostoen

License Donate 🍻 ☕

Need assistance with iTop or one of its extensions?
Need custom development?
Please get in touch to discuss the terms: [email protected] / https://jeffreybostoen.be

What?

⚠️ The current version is broken because listing the changed attributes is incorrect.

Adds a contact methods tab to a Contact. Can easily be extended to support all sorts of data. Dropdown to pick method (e.g. phone, email, social media) and a basic text box (255 characters).

Actions:

  • If a person's contact info (email, phone, mobile phone) is updated, a contact method is created

  • If a contact method is deleted, the info gets removed from the person's details.

    • If possible, it will automatically set the latest known contact information again on the person object for this type of contact method.
  • If a contact method is created, it does not write this info (e.g. e-mail) back to the person's details.

    • This is because of legacy code which still creates a contact method of info that is being removed from the person's details.
    • This is done because removal is sometimes adding an alternative email address, while the previous info is still valid too.