- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2023 02:40 AM
Hi,
I have a requirement where I need to populate logged in user title to the title variable based on the user logged for the record producer. For that I have added code in the default field the requested by field is getting populated, but I am not getting for Title field please do help if anyone have pointers on this. Anything needed to be change in default value code means please do share.
PFB Screenshots for reference.
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2023 02:59 AM
Hi @Kruthik M Shiva,
It seems Title is populated in Title variable. Make sure your variable is of Single line text type instead of reference.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2023 02:47 AM
Hi @Kruthik M Shiva,
Try this in default value as -
javascript:gs.getUser().getRecord().getValue('title');
For reference - User Object Cheat Sheet
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2023 02:53 AM
Hi @Sagar Pagar ,
I tried still not getting populated can You please tell any other solution to work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2023 02:59 AM
Hi @Kruthik M Shiva,
It seems Title is populated in Title variable. Make sure your variable is of Single line text type instead of reference.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2023 03:07 AM