Menu

Adding a new Tab on an existing object

2023-01-19
2023-01-20
  • Abdullah Noman

    Abdullah Noman - 2023-01-19

    Hello!

    How can I add a new tab on an existing object?

    [cid:image001.png@01D92BFC.5046F200]

    Here is what I want to do in the above image or object,

    • I want to create a new tab called Network and Circuit
    • In that new tabs I would like to have the options to add Network objects or Circuit objects just like I can add devices in device tab.
      I am completely new to Itop. Please help me with providing documentation resources or step by step guide. I will appreciate the help a lot. I did look for documentation in Itop wiki but found nothing about how to add tab on existing object. Thanks
     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2023-01-19

    Do you mean like for instance how persons and CIs are linked to a ticket?

    You'd need to look at the documentation of an AttributeLinkedSet or AttributeLinkedSetIndirect

     
  • Abdullah Noman

    Abdullah Noman - 2023-01-20

    I did that and afterwards tried to do the setup for my new module again but I keep getting this error.
    Fatal error: Uncaught Error: Call to undefined method AjaxPage::error() in /var/www/html/web/setup/ajax.dataloader.php:169
    Stack trace:

    0 {main}

    thrown in /var/www/html/web/setup/ajax.dataloader.php on line 169
    PHP error occured : msg=Uncaught Error: Call to undefined method AjaxPage::error() in /var/www/html/web/setup/ajax.dataloader.php:169
    Stack trace:

    0 {main}

    thrown, no=1, file=/var/www/html/web/setup/ajax.dataloader.php, line=169

    Any idea why?

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2023-01-20

    Is the error gone after removing your module?

    If yes, it may be best to share your module to see what may be causing this.

     
  • Abdullah Noman

    Abdullah Noman - 2023-01-20

    Yes, I was able to fix it. Thanks for your help

     
    👍
    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.