How to hide the field(Install status) from the respective class like (cmdb_ci_server) on change form

raj99918
Tera Contributor

Hi

 

I have requirement like on change request form having CI class field which contains classes like cmdb_ci_server,cmdb_ci,netgear,cmdb_ci_business_app and we have one more field name called Change lookup this field contains all the fields of the respective classes for example if you select  CI class name as cmdb_ci_server then in the change lookup will contains all the fields of the class cmdb_ci_server so now I want to hide one field(Install status) from that change lookup when user selects the CI class as cmdb_ci_server. How can I build this functionality for your refernce am attching the screenshot for the same.

 

cmdb.jpg

Need to hide that red colour one Install status from that change lookup field when the select the CI class as cmdb_ci_server.

 

14 REPLIES 14

Hi @Ankur Bawiskar Even Proposed Table having data type as Table Name am attching the screenshot for the samePT.jpg

@raj99918 

Why not use some other way to show the table and it's related fields?

you can use reference field to sys_db_object and sys_dictionary and then add reference qualifier

If you are saying it's already implemented then search that field type in dictionary and see on which table it's there and how ref qualifier is applied

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @raj99918 \

No, it is not possible. The reason is that you want to hide the attributes from a table, and for that, you can use a template. In short, it's not feasible. It's better to educate the user on which attributes to use when defining their template.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @Dr Atul G- LNG  It was already implemented for the other attribute in my system but am not able to find out where they have implemented this logic

That interesting @raj99918 

There might be some script in place. Did you check with the previous developer or vendor who implemented this? They might have insights or solutions related to it.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************