AnsweredAssumed Answered

People picker entry into JavaScript variable

Question asked by mai-kel on Apr 19, 2017
Latest reply on Apr 20, 2017 by mai-kel

Hi all,


this should be an easy one, but I didn't get it running...  I would like to write a people picker entry into a javascript variable. What I did:


Within form (setting of the people picker control):

Store Client ID in Javascript: Yes
Client ID Javascript variable name: ppFK


Trying to get it into a variable (both without success):
var FK = new NF.PeoplePickerApi("#" + ppFK);
var FK = document.getElementById(ppFK);
Any help is highly appreciated!