- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2022 06:17 PM
We're hoping to add and remove mandatory fields in a derived CMDB class without changing the parent. This is meant specifically for classes where Discovery doesn't work (ie, Data Centre racks, Power circuits).
What's the best way to accomplish this?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2022 11:44 PM
You can use a dictionary override to accomplish this, which will leave the mandatory state on the parent table as it is, but allowing you to change it on the child classes.
It sounds like discovery is not a consideration on these particular classes, but keep in mind that discovery will not be able to create a CI if the payload is missing a mandatory field unless you set the glide.required.attribute.enabled property to false.
Another option is to use client scripts or UI policies to ensure that required data is entered (if being entered by the form). You can also configure 'Recommended' attributes and use the CMDB Dashboard to report on CI's that do not have all recommended fields and created remediation tasks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2022 11:44 PM
You can use a dictionary override to accomplish this, which will leave the mandatory state on the parent table as it is, but allowing you to change it on the child classes.
It sounds like discovery is not a consideration on these particular classes, but keep in mind that discovery will not be able to create a CI if the payload is missing a mandatory field unless you set the glide.required.attribute.enabled property to false.
Another option is to use client scripts or UI policies to ensure that required data is entered (if being entered by the form). You can also configure 'Recommended' attributes and use the CMDB Dashboard to report on CI's that do not have all recommended fields and created remediation tasks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2022 11:17 AM
David - Dictionary Override worked like a charm.
Thank you, kind sir.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2022 04:07 PM
Awesome, glad I could help!