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

Form button that populates People picker

Jump to solution

Hi, I have looked at several posts but can’t seem to figure this out.  I have a “service request” form.  Once submitted, it goes to my team for review.  I just wanted to add a button that will populate the people picker control (ie: Assigned To)  with the Current user.  It basically saves you from manually selecting your name if you decide to “take ownership “ of the request.  But I cannot figure out the code needed to populate the people picker control. 

 

Thanks!

Labels: (1)
0 Kudos
Reply
3 Replies
cherylshah
Nintex Newbie

Re: Form button that populates People picker

Jump to solution

I suggest using the Advanced section --- Connected To setting of the button to change the value of a field, for example set a Status field to Request Accepted, then create a simple workflow that is triggered off that change and sets Assigned To = Initiator. You'll probably also want to make the button visible only to members of your team by using an expression in the Visible setting in the Appearance section.

 

Accept Request Button.jpg

 

0 Kudos
Reply
Automation Master
Automation Master

Re: Form button that populates People picker

Jump to solution

have a look eg. on this example

https://community.nintex.com/t5/Nintex-for-SharePoint/Set-People-Name-based-on-other-field/m-p/58521...

(it's not exactly on button click but it might get you on track)

 

 

see as well PeoplePicker API documentation

https://community.nintex.com/t5/Nintex-for-SharePoint/People-Picker-Extensions-Nintex-Forms/td-p/837...

0 Kudos
Reply
MarcoB
Nintex Newbie

Re: Form button that populates People picker

Jump to solution

thanks all for the suggestions!

0 Kudos
Reply