Skip to main content
Nintex Community Menu Bar

Nintex Forms NF.PeoplePickerApi

  • Jul 5, 2016 2:05 AM UTC
  • 4 replies
  • 113 views
  • Translate All

Forum|alt.badge.img+1

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).

4 replies

Forum|alt.badge.img+16
  • Jul 5, 2016 2:41 AM UTC

Have you seen this >>>

Translate

Forum|alt.badge.img+1

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

Translate

Forum|alt.badge.img+3

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

Translate

Forum|alt.badge.img+4
  • Nov 3, 2016 2:06 PM UTC

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.

Translate