Catalog Auto-populate User's Manager's Info

Evan Duran
Kilo Guru

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.

find_real_file.png

1 ACCEPTED SOLUTION

Chase Stevenson
Mega Guru

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:
find_real_file.png

#1 client script to populate the supervisor reference:
find_real_file.png

#2 client script to populate the supervisor title:
find_real_file.png

View solution in original post

5 REPLIES 5

thank you