How to get value of dot walking field in client script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2020 04:01 AM
How to get value of dot walking field in client script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2023 10:52 AM
You sure can use it but what Paul is saying is that calling data from server on client script is considered bad practice as it causes slowness on the instance on the long run.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2025 03:19 AM
Doesnot work!- I have never seen anything like this before.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2020 04:08 AM
try
alert(g_form.getValue('caller_id.email'));

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2020 04:09 AM
Hey Shivam,
Let's understand below scenario,
If you want to set a caller's mobile number through dot walking then you can do this,
g_form.setValue('u_user_manager', caller.mobile_number);
Please mark correct and helpful.
Thanks
Tanushree

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2020 04:25 AM
Hello Shivam,
In general, dot walking is not available in client script, unless you used g_form.getReference. Even in this case, you can do dot walking only till level1.
So best is to use Script Include and GlideAjax.
So what exactly is your requirement here?
Kindly mark the comment as a correct answer and helpful if it helps to solve your problem.
Regards,
Asif
2020 ServiceNow Community MVP