How can I auto populate user location information in service catalog variable?

Michael Moch
Tera Guru

Hello team,
How can the location be automatically displayed by the user in the catalog item? What type do I have to add?

Many thanks

 

1 ACCEPTED SOLUTION

Allen Andreas
Tera Patron

Hi,

So you'd create a reference variable that points to the location table, then you can set the default value of that variable to be:

find_real_file.png

javascript:gs.getUser().getLocation();

Which will automatically place the location of that user in that field for you.

Please mark reply as Helpful/Correct, if applicable. Thanks!

View solution in original post

10 REPLIES 10

Michael Moch
Tera Guru

many thanks for your help.