- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 04:31 AM
Hello Can someone help me to handle Visibilty in List of the two fields added and how not be herited by the class u_distribution_printer :
This upgrade request requires the addition of two new variables to the Printer CMDB (cmdb_ci_printer):
- Installation Type: SAFEQ or STANDARD;
- Print Queue Name: Free-form field (print queue specification).
These fields should not appear in inherited classes (u_distribution_printer).
If "Type" = "Network", the "Installation Type" field is displayed and must be populated with one of the two possible values: "SAFEQ" or "STANDARD".
If "Type" = "Individual", the "Installation Type" field will not be displayed in the CMDB form and will not be populated. Its conditions must also apply to the list viewed when the customer is on the list.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 08:21 PM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 05:10 AM
@Ankur Bawiskar So :
1- I created the two fields "Installation Type"(choice=>STANDARD; SAFEQ), "File name print" in the table cmdb_ci_printer
2- I organized those fields in the form like it needed to be in default view
3- I created two UI policies to handle Visibility and Mandatory of the Installation Type when Type is "Network"; And when Type is "Individual" or empty the field Installation Type is not Mandatory and NOT Visible
Im strugling :
A- in the LIST of the cmdb_ci_printer the field Installation Type is visible even if we do the change of the Type to "Individual" or empty or Network(For Network the field is not mandatory in the list the client can choose type network and not put anything in installation Type Field
B- I want The two field created in cmdb_ci_printer not to be inherited by the class u_distribution_printer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 09:43 AM
Responses inline
A- in the LIST of the cmdb_ci_printer the field Installation Type is visible even if we do the change of the Type to "Individual" or empty or Network(For Network the field is not mandatory in the list the client can choose type network and not put anything in installation Type Field->UI policy or client script won't work on list view.
B- I want The two field created in cmdb_ci_printer not to be inherited by the class u_distribution_printer -> not possible
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 08:21 PM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader