cancel
Showing results for 
Search instead for 
Did you mean: 
eric_beeler
Nintex Newbie

Set Manager People Picker from another People Picker

Jump to solution

Hi everyone,

I have a People Picker field named BusinessCardHolder and this is set to be the current user or the current user can change it to a different name. I need to get the manager of the the BusinessCardHolder field. I have named this field to be BusinessCardHolderManager.

Is there a way to have this automated on the Nintex Form without having the team member select their manager?

If so, does it have to be created via Javascript or is there a way to do it without Javascript?

Thanks for the help!

0 Kudos
Reply
3 Replies
emha
Nintex Newbie

Re: Set Manager People Picker from another People Picker

Jump to solution

if you are at least on SP Standard you can use userProfileLookup() function

Reply
pwarrak
Nintex Newbie

Re: Set Manager People Picker from another People Picker

Jump to solution

Dear, 

Add a calculated value control with the formula : 

userProfileLookup(BusinessCardHolder,"Manager")

This will retrieve the BusinessCardHolderManager.

If you want the name of the manager, use the below:

userProfileLookup(userProfileLookup(BusinessCardHolder,"Manager"),"PreferredName")

 

0 Kudos
Reply
eric_beeler
Nintex Newbie

Re: Set Manager People Picker from another People Picker

Jump to solution

That is what I needed. I used the PreferredName one. This should help me use this field in emails as well. Thank you!

Reply