how to set a default value on a dropdown?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2022 10:10 AM
Hi Developers,
Need your help here. Actually there is a task to make a dropdown value none which now showing phone(source field). I checked it by going to source field- configure dictionary- choice list specification - value ---> in value field nothing is showing there. it is blank. So i checked client script which is as below.
But the question here is :
We are at ITSM/TOP/GBP/ABC domain but this client script is written at ITSM/TOP/GBP domain.
So how can i now change the source field choice field from phone to -none-.
if will change this client script /deactivate which is at GBP domain , don't know where it will effect.
kindly suggest how to achieve this?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2022 10:47 AM
Hello,
I don't think it will affect GBP domain because configuration is top down approach so whatever you write in GBP it will reflect in ABC whereas whatever you write in ABC won't reflect in GBP hence make changes and test it. Mark my answer as correct or hit like based on impact.
Regards
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2022 12:18 AM
Hi,
If your issue is resolved, Please mark my answer as correct and close the thread.
Regards
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2022 12:51 AM
Hi Manmathpanda,
Client script can be overridden in the child domain. That is, create a new client script in ITSM/TOP/GBP/ABC domain that does nothing.
function onLoad() {
}
Then, check "Inherited" checkbox. If "Inherited" in not on the client script page, add it to the page.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0963141
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2022 09:20 AM