- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2024 04:26 AM
Need to create a Domain Field in the Catalog item with partial validation with list of predefined values.
Predefined values like 'com', 'In', 'gov', 'org' have around 200+ values .
Example: google.com is valid. Here google is a sample it can vary.
google.asdasd is In-valid entry.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2024 04:52 AM
you can use onChange client script and check what the extension
to handle this you can use onChane + GlideAjax
the script include will fetch the extensions from system property which holds these comma separated 200 values and based on that you can validate
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
06-24-2024 04:52 AM
you can use onChange client script and check what the extension
to handle this you can use onChane + GlideAjax
the script include will fetch the extensions from system property which holds these comma separated 200 values and based on that you can validate
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
06-24-2024 05:25 AM
@Ankur Bawiskar Thanks for the Solution.
We have restrictions to use the Script include. Do we have any other alternate way through which we can achive this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2024 08:02 PM
I don't know what's the restriction with script include.
the best way for your question is GlideAjax. Please discuss this with your technical lead.
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