- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2025 12:41 AM
Hi
Can any 1 help
How to achieve the Service portal
when a user choose the option as "No" in variable type(Yes/No)
A Link of the form automatically should load in new window or display like pop up to fill
Employee Portal screenshot
please let me know
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2025 12:43 AM
did the script I shared not work for you?
It should work and based on value it should open the URL in new tab
share your script and what debugging did you do?
OR
1) Another way is to use variable of type "Custom" and add widget to it, add HTML link there
2) Then show/hide this variable based on the Yes/No value
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
05-20-2025 06:40 AM
You can add a widget as a custom variable and manage the popup and screenshot upload in it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2025 06:55 AM
you can open the other catalog item in new browser tab using this logic in onChange catalog client script
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
if (newValue == 'no') {
var url = '/esc?id=sc_cat_item&sys_id=catItemSysId';
// use this for native
g_navigation.open(url, '_blank');
// use this for portal
top.window.open(url, "_blank");
}
}
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
05-20-2025 07:58 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
05-21-2025 12:36 AM
Hi Ankur No luck"
Thanks
Atleast we need hyper link beside PLEASE ex: (Click here)
when a employee choose question as "No" below label is displaying in that we want hyper link Please "CLICK HERE"(hyper Link)
Thanks for your response