AnsweredAssumed Answered

PeoplePickerApi

Question asked by pramodbn on Sep 9, 2014
Latest reply on Jan 14, 2015 by mlauer

Hi All,

Nintex Forms 2013 2.3.2 has People Picker Extension

the details are described here People Picker Extensions - Nintex Forms

I want to use the "added" option of the PeoplePickerApi.

I have used the below code options

option:1

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

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

var ins = new NF.PeoplePickerApi('#varRequestor');

ins.added(GetRequestorDetails);

});

});

this one fails on the "added" function. This fails in the NF.PeoplePickerHelper.js file with the message "Cannot read property 'options' of null"

 

option:2

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

var ins = new NF.PeoplePickerApi('#varRequestor');

ins.added(GetRequestorDetails);

});

 

This returns 'NWF' is undefined.

 

Please could someone explain how to use the added function.

Outcomes