- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2020 05:19 AM
Hi Team,
How can populate the phone number of the logged in user in catalog? Which table must be specified as a reference for the catalog item (variable)?
what is best practice?
regards,
Solved! Go to Solution.
- Labels:
-
Request Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2020 05:25 AM
Hi,
Instead of referencing any table you can pass default value for the phone number variable as below
javascript: gs.getUser().getRecord().getValue('phone');
where phone is the Business phone from User table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2020 11:38 AM
Hi,
If you want to get the location of logged in user then you can use the below code in default value.
javascript:gs.getUser().getRecord().getDisplayValue('location');
Please mark Helpful and Correct based on Impact.
Regards
Nikhil