Default value for a variable in Service Catalog variable set from User table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2018 11:31 PM
Hi,
I have two variable in a service catalog variable set which has to display user's phone number and department on loading catalog item. I need to set the default value. How do I do it?
Thanks,
G Balaji
- Labels:
-
Cost Management
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2018 09:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2018 12:06 AM
Hi Ajay,
Thanks for the response. I need to get the value of Business phone field. I could get the value of Mobile Number field, but not business phone.
Regards,
G Balaji

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2019 11:22 AM
If you want business phone number field just type
javascript:gs.getUser().getRecord().getValue("business_phone");
it wil definetly help you....
please mark it correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2018 04:39 AM
Hi Ajay,
This code worked. Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2019 10:59 AM