purtuga / SPWidgets

Sharepoint Custom UI Widgets
74 stars 34 forks source link

pickSPUser #60

Closed thermador64 closed 8 years ago

thermador64 commented 8 years ago

I am trying to filter the users by domain with the pickSPUser, and I have included my code. code

I am using the column Name because if you get the UserInfo list this column has the domain\id information. I don't know if you are using a different list, or if I am just doing something wrong. Any help would be appreciated.

purtuga commented 8 years ago

That does not look like a supported way to call  this widget.  Please read the API documentation here: https://github.com/purtuga/SPWidgets/blob/master/documentation/SPWidgets.pickSPUser.md This widget does not query the user list directly.  It uses searchPrincipals SharePoint API.  You might be able to achieve goal by using the widget's 'filterSuggestions' option. 

Paul -- sent from mobile

thermador64 commented 8 years ago

Thanks for the tip. I was able to get it working with the filterSuggestions option.

purtuga commented 8 years ago

Glad to hear that.