ITSM

KritiK
Tera Contributor

Hello @everyone,

I have created one custom table which is extended by OOB Demand Table ,I have created some choices of state field on the  custom table but issue is this this choices are also visible on the demand table.

if any solution please let me know quickly

1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

@KritiK One alternative could be create an onLoad client script on the OOB Demand table and remove the additional choices via g_from.removeOption('field_name','choice_value'); 

https://developer.servicenow.com/dev.do#!/reference/api/washingtondc/client/c_GlideFormAPI#r_GlideFo...

View solution in original post

5 REPLIES 5

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @KritiK 

 

check OOTB cmn_choice table. 

 

You need to create choices on custom table, seem by mistake you created on Parent table.

*************************************************************************************************************
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]

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

KritiK
Tera Contributor

Hi @Dr Atul G- LNG ,can you please give the proper name   OOTB "cmn_choice" table. 

Sorry its sys_choice table.

 

AGLearnNGrow_0-1717588808767.png

 

*************************************************************************************************************
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]

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

Sandeep Rajput
Tera Patron
Tera Patron

@KritiK One alternative could be create an onLoad client script on the OOB Demand table and remove the additional choices via g_from.removeOption('field_name','choice_value'); 

https://developer.servicenow.com/dev.do#!/reference/api/washingtondc/client/c_GlideFormAPI#r_GlideFo...