Menu

List for Device Typ

2022-05-10
2022-05-11
  • Jan R. Schestak

    Jan R. Schestak - 2022-05-10

    Hello, everyone,

    how can I expand the list of devices to choose from when creating new brands and modules.

    You had to put that in a file.

    Greetings Jan

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2022-05-10

    You mean the class type?

    Have a look at the monitor example at the iTop wiki.

     
  • Jan R. Schestak

    Jan R. Schestak - 2022-05-10

    Hello,
    I mean this list (see attachment)

     
  • Jan R. Schestak

    Jan R. Schestak - 2022-05-10

    sorry,

    but I'm probably just a little blind. I can't find anything to expand the list marked in the picture and how.

    Please do not be mad

     
  • Vincent @ Combodo

    As Jeffrey suggested, this list is probably computed based on the list of final classes existing in your iTop under FunctionalCI, so if you define a new class under FunctionalCI, it will automatically appear in that list.

     
  • Jan R. Schestak

    Jan R. Schestak - 2022-05-10

    My new device types are displayed in the list in itop. But not in the list for creating a new object of type "model"

    Am I missing something?

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2022-05-10

    See the monitor example, it shows you how to add a new CI type to the model -> device type.

     
  • Jan R. Schestak

    Jan R. Schestak - 2022-05-10

    I'm either missing something or I'm too stupid...

    Sorry I made everything from Jeffrey's page. The monitor selection is also displayed in all lists, just not when I create a new monitor and want to select it under Model as Functional CI (Device Type) It is still missing there in the list as in my photos before.

    Sorry that I annoy you so much

     
  • Vincent @ Combodo

    Hi Jan,
    Sorry for this, we made the assumption that it was automatic and based on classes below FunctionalCI, but it is not.
    Here is the source code: https://github.com/Combodo/iTop/blob/develop/datamodels/2.x/itop-config-mgmt/datamodel.itop-config-mgmt.xml#L4181
    So you need through an iTop extension to add some values to this enum field... (I gave the example of declaring a new state as it is a enum, but just do that part of the tutorial, not the rest )

    Regards
    Vincent

     
  • Jan R. Schestak

    Jan R. Schestak - 2022-05-11

    Hello Vincent,

    perfect exactly what i was looking for. I probably expressed something kisunderstood beforehand.

    But I still have one question.

    Where can I set that the objects marked obsolete are always displayed.

    Greetings Jan

     
  • Vincent @ Combodo

     

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.