Catalog variable visible on Portal but not visible on submitting a RITM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2024 05:05 AM
Hi Everyone,
The Catalog Variable is visible on the Portal but when submitting a request the field is not visible on the RITM. How can I show the field on the portal and as well as on the RITM. It is happening with 1 variable only.
The variable's value is dependent on another variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2024 05:12 AM
HI @mishravikas
Check is any Catalog UI policy stopping this or client script?
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2024 05:28 AM
// client script for above issue//
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
//g_form.getValue('type_of_email')='';
g_form.clearValue('type_of_email');
// return;
}
//Type appropriate comment here, and begin script below
if(newValue == 'NML – Non-Manager Level' || newValue == 'FML – First Manger Level'||newValue == 'MML – Middle Management Level') {
g_form.setValue('type_of_email','O365 E1 license');
g_form.setReadOnly('type_of_email',true);
}
else if(newValue == 'SML – Senior Management Level' || newValue == 'TML – Top Management Level'){
g_form.setValue('type_of_email','O365 E3 license');
g_form.setReadOnly('type_of_email',true);
}
// else{
// g_form.clearValue('type_of_email');
// }
}
//isLoading ||
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2024 05:14 AM
Hi @mishravikas,
Check the below Knowledge article which will help you to fix the issue
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0725077
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0719961
If my response helps you to resolve the issue close the question by Accepting solution and hit thumb icon. From Correct answers others will get benefited in future.