- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2022 04:40 AM
Hi, I recently got a requirement regarding add a field in the Hardware Model to indicate Form Factor.
This field should be located on the "information" tab of the Hardware Model record (cmdb_hardware_product_model). The right hand column only has two entries at present, this field could go below those, aligned with the 3rd field on the left column. This should be a drop-down field with a "none" option.
Choices for dropdown: Tower, Minitower, Small Form Desktop, All-in-one, Laptop, Tablet.
A quick and step by step procedure would really appreciate.
Thanks in Advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2022 04:57 AM
Hello,
Please follow the below steps:-
Go to the hardware form
right click on the top -> configure -> click on form layout
Once the form layout opens click on the information section
The selected portion will show all the fields already present on form
In the portion of create a new field , put the name Form factor and then click on Add
Once Add is clicked the new field will show in the Selected portion put it above the end split and then click on save
Then you will see the field on the form
Now to add the options right click on the field name-> configure dictionary
Then once dictionary opens scroll to the bottom you will have choice option must create the choices and in the choice field select dropdown with none so that the none is also an option
Please mark answer correct/helpful based on Impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2022 04:57 AM
Hello,
Please follow the below steps:-
Go to the hardware form
right click on the top -> configure -> click on form layout
Once the form layout opens click on the information section
The selected portion will show all the fields already present on form
In the portion of create a new field , put the name Form factor and then click on Add
Once Add is clicked the new field will show in the Selected portion put it above the end split and then click on save
Then you will see the field on the form
Now to add the options right click on the field name-> configure dictionary
Then once dictionary opens scroll to the bottom you will have choice option must create the choices and in the choice field select dropdown with none so that the none is also an option
Please mark answer correct/helpful based on Impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2022 04:59 AM
Hello Saurav,
Thank so much really appreciate your help and quick response.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2022 07:53 AM
I'd push back on the customization if you are using HAMP. HAMP introduced a field called Device type (cmdb_hardware_product_model.normalized_device_type). This field is a reference to the sn_hamp_hw_device_type table which gets its options populated from the Content Library, but also allows user defined options to be added by clients.
Going this route you may need to adjust the acl that controls this field as it makes it read only if customers aren't paying for a certain device in their HAMP subscription (e.g. Mobile Device, End User Computers, Servers, Network Gear)
You'll also want to adjust 4 UI Policies on that make this field read only if the normalization is fully normalized or partially normalized.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2023 10:39 AM
Scott,
Wondering if you can answer a question based on the Device type field added in HAM. The organization I work with uses NIGP commodity codes. They haven't implemented HAM yet, just Procurement. They had an implementer add a table called commodity_codes so that when they submit a Purchase Order, the user has to identify the commodity code, which is then tied to the Product Model. In theory, with HAM, the Custom Device Type could replace this table, since it has the UNSPSC Commodity ID field in it, which would then tie back to the Product Model. So basically when a user wants to purchase a computer, they'd select a Product Model and instead of having to select / know the commodity code, they would pick just the model. Then the Device type would be set to the correct commodity code like 204-00 with the Name COMPUTER HARDWARE AND PERIPHERALS FOR MICROCOMPUTERS. The only caveat is that it seems you can only do a one to one relationship with the commodity code and CIs. What they are after is when they purchase something, the Model has the correct commodity code selected, which then would tie back to the vendor. The idea would be they would then be able to pull up a list of all vendors who supply these commodity codes and the list of items they provide. I don't know if that makes sense, but basically that's what we're after without having to have this separate table and ensuring things are done right. Thanks for any guidance you might have.