- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2020 05:47 AM
Hi,
This is not possible out of the box
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2020 04:02 AM
I fixed it with on change client script.
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
if (newValue == 'true') {
g_form.setValue("vabc_zxy", "c477ca52db2428101422fbf4e296196b,0db74e52db2428101422fbf4e29619f0,1cd7ce52db2428101422fbf4e29619cc,29080a52db2428101422fbf4e2961975,97e7c612db2428101422fbf4e296192e,e4384e12db2428101422fbf4e2961940,eb18ce52db2428101422fbf4e29619d2", "Abc, Def, Ghy, BCA, BBH, CVF, CVX");
} else
g_form.clearValue('vabc_zxy');
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2020 04:36 AM
Thanks for the update.
Just to inform hard-coding the sys_ids is not good practice
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2020 04:21 AM
Hope you are doing good.
Did my reply answer your question?
If so, please mark appropriate response as correct & helpful so that the question will appear as resolved for others who may have a similar question in the future.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2020 07:58 AM
Hi
I had a similar requirement but in addition the stakeholder also wanted the ability to select values in a range and multiple individual values. In the end we came across this slush-bucket widget solution that allowed us to achieve what was necessary instead of the OOTB List Collector variable type: https://developer.servicenow.com/connect.do#!/share/contents/3638254_service_portal_slushbucket_widg...
I've attached a pic of what we implemented. Hope this helps.