- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
02-17-2020 04:34 AM
Hi Shivam,
You can use OnChange client script.
Try below script.
var caller=g_form.getReference('caller_id',test);
function test(caller)
{
g_form.setValue('u_email',caller.email);
}
Please mark it as helpful/correct based on impact.
--
Regards
Darshani Sambare
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
02-17-2020 04:45 AM
Hi,
In client script using getReference() you can do single dot walking, if you want multiple dot walking in client script use GlideAjax in client script.
Thanks,
Dhananjay.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
03-12-2024 03:03 AM
Upload one example plss.