I am trying to add a new type to the existing PC CI.
In the datastructure i can add the line in the file datamodel.itop-enduser-devices.xml:
<field id="user-content-type" xsi:type="AttributeEnum">
<values>
<value>laptop</value>
<value>desktop</value>
<value>thin client</value>
</values>
Then afterwards i run the data model tool and update the itop code. </field>
The next time i enter the itop PC creation CI i see and select the type thin client.
However after saving the CI, the type get modified to 'undefined'.
Which steps do you advice to take in order save the new type?
Do i need to specify an additional type in the XML file?
That's right you need to specify an additional content type of the field in the .xml file so to be able to ALTER the database table with the ability to choose "thin client" for that field.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I am trying to add a new type to the existing PC CI.
In the datastructure i can add the line in the file datamodel.itop-enduser-devices.xml:
<field id="user-content-type" xsi:type="AttributeEnum">
<values>
<value>laptop</value>
<value>desktop</value>
<value>thin client</value>
</values>
Then afterwards i run the data model tool and update the itop code. </field>
The next time i enter the itop PC creation CI i see and select the type thin client.
However after saving the CI, the type get modified to 'undefined'.
Which steps do you advice to take in order save the new type?
Do i need to specify an additional type in the XML file?
Thanks,
Regards,
Remie
That's right you need to specify an additional content type of the field in the .xml file so to be able to ALTER the database table with the ability to choose "thin client" for that field.