- 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 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 05:50 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2020 05:57 AM
It will work for logged in user. Are you checking it with your profile or logged in/impersonated Abel.
Since, your comments suggested you will to have it for logged in user suggested the approach above.
Can you ensure once the Business phone has value for user you impersonate or login with once.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2020 05:58 AM
Change the variable type to Single Line Text.
It should not be reference to User table.