- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2024 06:47 AM
Hi experts,
we have a requirement, when selected user is a manger in user table, then only we need to display a variable 'should current team'.
For this I have written script include (client callable) and client script ( onchange) but some how field is not getting displayed.
PFB the code snippets and guide me where I went wrong.
Script Include:
Client Script:
Note: when ever I select a user who is manager or not, alert in the line 19 pops up.
TIA
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2024 07:37 AM
Okm i see it, in your client script you are using
sysparam_name and sysparam_emp
while it should be
sysparm_name and sysparm_emp
Correct the first like in your script include too where you are reading sysparm_emp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2024 06:52 AM
Hi,
Can you confirm whether or not The new Value you are sending in the client script is a sys_id or not? It should be sys_id of a user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2024 07:33 AM
Hi @Anurag Tripathi , yes we are sending sys_id
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2024 07:37 AM
Okm i see it, in your client script you are using
sysparam_name and sysparam_emp
while it should be
sysparm_name and sysparm_emp
Correct the first like in your script include too where you are reading sysparm_emp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2024 07:46 AM
Thank you so much Anurag. It's working