jekcalingan
Nintex Newbie

Nintex Forms NF.PeoplePickerApi

Does the NF.PeoplePickerApi available in Nintex Forms for Office 365? I am getting an error when creating an instance of the NF.PeoplePickerApi.

NWF$(document).ready(function(){

     NWF.FormFiller.Events.RegisterAfterReady(function(){

          var ins = new NF.PeoplePickerApi("#" + varPeople);

          ins.search("Ricardo Calingan").done(function(data){

               ins.add(data[0]);

          });

     });

});

Line 3 throws an error, IE (SCRIPT445: Object doesn't support this action) and Chrome (Uncaught TypeError: NF.PeoplePickerApi is not a constructor).

Reply
4 Replies
fhunth
Nintex Newbie

Re: Nintex Forms NF.PeoplePickerApi

Have you seen this >>>

Reply
jekcalingan
Nintex Newbie

Re: Nintex Forms NF.PeoplePickerApi

Yes, I have researched and I have no solution yet.

0 Kudos
Reply
cclements
Nintex Newbie

Re: Nintex Forms NF.PeoplePickerApi

Ricardo, did you ever come to a resolution on this?  I also get an error when I call new NF.PeoplePickerApi('#mycontrol'); line.  In office 365 the PeoplePickerApi just doesn't seem to be there.

0 Kudos
Reply
john_luangci
Nintex Newbie

Re: Nintex Forms NF.PeoplePickerApi

You may find the thread below useful. It appears that the search method doesn't work in Office 365.

Re: Set People Picker to manager in Office 365 forms Re: Set People Picker to manager in Office 365 forms

Reply