- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2022 11:59 AM
I have a catalog item that auto-populates fields based on user's logged in. If you decide to change cardholder name it will auto populate based off their record as well. My question is how to I auto populate the user's manager's TITLE, and EMPLOYEE number. These variables on their records are 'title' and 'employee_number' but my script is based off cardholders record only.
Solved! Go to Solution.
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2022 12:54 PM
Hello, to do this, you can create 2 catalog client scripts on your catalog item and you will need an additional field for a reference to the user's supervisor. You can choose to hide this new supervisor field using a UI policy if you wish, and it will still work:
#1 client script to populate the supervisor reference:
#2 client script to populate the supervisor title:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-21-2022 10:15 AM
thank you