casey
Apprentice

ServiceObject GetUserDetails when form initializing?

Is there a way to have GetUserDetails populate when form initializes? Or does it only work when username is input? I would like to have a form display with basic Active Directory details (name, email, phone, manager, department) when a user opens it without having to enter anything-- then fill out other details not related to AD. Or is there a different ServiceObject I might try?
0 Kudos
4 Replies
Prafull
Novice

Re: ServiceObject GetUserDetails when form initializing?

Hi Mark,

 

Why dont you use system value  for current user on form initialize rule? There are properties for current user like Name, Email and Manager.

 

Hope I understand your question correctly.

 

Thanks,

Prafull

0 Kudos
casey
Apprentice

Re: ServiceObject GetUserDetails when form initializing?

Hi Prafull-

 

Thanks but I'm not really sure what you mean. I would like to post a link on our intranet for any employee to click to request time off. I want the form to populate with as many details as possible depending on who clicks it. I would like the form to display with that person's name, email, manager, etc. (as many AD values as possible) then they can fill-in the specifics on the rest of the form themselves.

 

 

0 Kudos
Prafull
Novice

Re: ServiceObject GetUserDetails when form initializing?

Yes Mark, You can do that on the form with system value. Syatem values has different properties for current user like Name, Email and Manager.

 

 

You can assign this values to field on form by creating expression and use this sytem values in expression. It will take the Name, Email and Manager value for current user.

 

You can find expression in field property. add new expression and use current user system value for mapping. Please find attached screenshot for help.

 

 

 

 

 

 


expression_for_email_2696.jpg
0 Kudos
casey
Apprentice

Re: ServiceObject GetUserDetails when form initializing?

Excellent! Thank you very much! I'll let you know how it goes :)  I appreciate it.

0 Kudos