- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 09:57 AM
Hi,
I am not able to print current loggedin user i.e admin's manager name in alert using client script.
Can anyone help?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 10:45 AM
try with the updated script and confirm if this worked
Regards,
shyamkumar
Regards,
Shyamkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2024 01:00 AM
sure can you please create another question and tag me there as this thread is closed
also elaborate your requirement in that
Regards,
Shyamkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 10:03 AM
Hi @Shubham_verma ,
use display BR and store the Manager in scratch pad and call that in the Client script
g_scratchpad.managerName =
gs.getUser().getManagerID();
client script
alert(g_scratchpad.managerName);
regards,
shyamkumar
Regards,
Shyamkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 10:22 AM
It will display manager ID not manager name right?I want to display manager's name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 10:29 AM
@Shubham_verma
Amended use below
g_scratchpad.managerName =
gs.getUser().getManagerName();
Regards,
Shyamkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 10:45 AM
try with the updated script and confirm if this worked
Regards,
shyamkumar
Regards,
Shyamkumar