Questions tagged [clientpeoplepicker]
The ClientPeoplePicker is the new ASP.NET control for the purposes of selecting users or groups in the SharePoint framework, made available starting from SharePoint 2013 . This tag should not be used for questions regarding the usage of the old - pre SharePoint 2013 - people picker.
37 questions
0
votes
1
answer
1k
views
Submit People Picker value into Sharepoint list column(Person and group) in SPFX (No Javascript) framework
Using SPClientPeoplePicker in the form
Is there any way to submit value from PeoplePicker into Sharepoint List Column(Person and group)
I am getting an error , using this piece of code for ...
0
votes
1
answer
104
views
What is the minimum permission needed for the client side people picker to work for a user
I have implemented client side people in SharePoint 2019 site in a custom form using plain HTML and jQuery. Requirement is to give user enough permission to use people picker but restrict from add/...
0
votes
1
answer
726
views
Client Side People Picker with SharePoint Group
I have come across the client side people picker javascript. Right now the people picker accepts all users. Is there any way we can point it to a SharePoint Group. I only want users that are present ...
1
vote
0
answers
122
views
Client Peoplepicker not saving data to a list
we are using Client peoplepicker in our SP custom form. Below is the code for that.
function getUserInfo(peoplePickerElementId) {
try{
var toSpanKey = ...
2
votes
1
answer
1k
views
SPClientPeoplePicker is not defined in custom edit form
I am getting the error "SPClientPeoplePicker is not defined in custom edit form". But it is working properly in default edit/new item form. (Sharepoint Online)
Getting the below error when trying to ...
1
vote
0
answers
63
views
Custom validation for people editor control
How to add custom validation for in asp.net if the user adds more than one username an error message must appear that he can only add one user.
Thanks
Regard.
1
vote
1
answer
2k
views
SharePoint People Picker Groups Only
I want to filter a people picker in SharePoint by Groups only (out of the box only has People and Groups or People Only)
How can I achieve this please?
I have this page actually not the actual ...
1
vote
1
answer
350
views
How to use class instead of Id for SharePoint PeoplePicker using JavaScript
I have created a Form on SharePoint using SPD, where I have used SharePoint PeoplePicker to get the User automatically.
Below is the code:-
$(document).ready(function () {
// Specify ...
1
vote
0
answers
178
views
Cannot clear people picker through Javascript
I've generated a people picker and I'm trying to clear it when i reset the form but it keeps giving me this error:
clear: pickerId => {
var picker =
...
1
vote
0
answers
44
views
How to clear picker before populating new item
I've created a people picker control in my form. I want it to only allow 1 user to be entered at a time. So if there's 1 user already selected, clear that picker, then resole the added user.
On my ...
0
votes
0
answers
79
views
SharePoint Online permissions required to run a jquery script that removes resolved user on edit form
I have a jquery script placed on a list edit form that removes resolved user from a people picker field. But the problem I am having is, it works for certain users and it doesn't for others. I tried ...
0
votes
1
answer
432
views
Auto-Populate Email Column using PeoplePicker once username is chosen in SharePoint
New to SharePoint Online:
Goal:
- Have the user enter a name in the input box (senderName), using the PeoplePicker, username populates... Once the username is selected, email of user populates in ...
0
votes
2
answers
4k
views
Clear value PeoplePicker in JavaScript (JQuery)?
Please tell me how to clear the value PeoplePicker in JavaScript (JQuery)? Tried a lot of examples, nothing works.
$("input[id*='Author']").val('');
$("div[id*='Author']").attr('description','');
$("...
0
votes
1
answer
80
views
reusable GetUserID function
I've some peoplepicker in sharepoint page and i need to get the user value of each one.
I've used this page code to create the pickers. The script in the page retrieve the user id of a Picker control ...
1
vote
1
answer
3k
views
Is it possible to Update SharePoint user field in Rest API with Email?
Is it possible to Save/Update User Field in SharePoint Rest API using email Addresses instead of USERID. Because in order to save 20 users i need to make 20 rest calls to get Userid is there any ...
1
vote
1
answer
458
views
Is there a "modern UI" equivalent to ClientPeoplePicker?
Is there a SharePoint "modern UI" equivalent to the SP ClientPeoplePicker control? I've seen the Fabric UI control, but that's just the interface component, and doesn't handle user search/resolution.
...
2
votes
2
answers
290
views
Event receiver: Evaluate blank person field in list item
I have created an event receiver to evaluate the value of a person field when the item is being updated and execute some code if it has been updated. The code is pretty simple and looks like this:
...
1
vote
0
answers
4k
views
How to resolve "Multiple entries matched, please click to resolve."?
I am working with SharePoint Foundation 2013.
I have created a custom HTML page and kept a Client Side People Picker.
Now when I set the current user in People Picker I get following
There is no ...
5
votes
3
answers
10k
views
SharePoint Client People Picker change event
I am using the SharePoint:ClientPeoplePicker control in my custom SharePoint page and would like to fire a change event when a user is selected from the list of users. I can see that there are ...
0
votes
1
answer
36
views
Any way for me get the nice 'as you type' autocomplete suggestions in my People and Groups fields?
Using SharePoint 2016 On Premises, vanilla set up and I’m a noob.
In various places where SharePoint shows People & Groups entry, it offers a nice PeoplePicker interface where as you type a name, ...
1
vote
1
answer
1k
views
PeoplePicker not providing all user info, only display name
I have a PeoplePicker that I want to use for an email destination. There is no problem entering a user and having it resolve, but the only info I can retrieve from the picker is display name. I expect ...
3
votes
1
answer
3k
views
SPFx how to set a people field in a list, e.g. “convert” AccountName to Lookup ID?
I am trying to build an SPFx WebPart with React Office UI Fabric. I have a SharePoint list with a People field called AssignedTo. The lookup ID values are like 12, 20, and so on. When I select a ...
1
vote
2
answers
783
views
Restrict client-side people picker in SharePoint to single line of text
I want to use a people picker (client-side, created using JavaScript function SPClientPeoplePicker_InitStandaloneControlWrapper) that only allows one person and is only restricted to a single line of ...
1
vote
4
answers
1k
views
PeoplePicker not loading in a ASP.net page - SharePoint
I am able to load the peoplepicker control in a page created within SharePoint using the code below but the same when i try to load in a .net application, integrated in SharePoint then i am unable to ...
0
votes
0
answers
36
views
SPD - get name/s from people and groups for email notification
I have a number of People and Group fields which are groups created within SP - drawn from our AD. I want to use the name/s selected with associated email in a workflow which captures the user/s in ...
1
vote
1
answer
88
views
SPO - Hosted-Add-in Client picker and question for init.js library
I want to know:
1)
Where i use init.js from ../_layouts/15/ (provider folder), and i sends 3 batches to server, fiddler show me 6 requests.. where i comment init.js library i really send 3 requests ...
0
votes
3
answers
12k
views
Resolve & Set value in PeoplePicker using JSOM function
I want to set a value (person) in the SharePoint PeoplePicker using JavaScript / jQuery.
The PeoplePicker is in the div which is called "Author".
How can I trigger the event which resolves the ...
1
vote
0
answers
691
views
Client People Picker - Unable to save value
I'm using the calendar app in SharePoint.
I add a custom person/group field. Autocomplete doesn't work by default.
So, i created a new custom form.
In this custom form, I changed SharePoint:...
7
votes
1
answer
15k
views
Using client side people picker with javascript
I found this this documentation on how to use the client side people picker and have it working on my page. Basically you load a bunch of js files, setup a schema, and then initialize the picker.
I'm ...
2
votes
1
answer
74
views
How to add UPS users profile to a Site Collection without performing EnsureUser?
I have a SP2013 farm with a User Profile Service populated with an External Identity Provider (MIM 2016 to be more specific). The Identity Manager takes users for several Active Directories and ...
1
vote
1
answer
2k
views
Populate 1 People Picker field with logged user via JavaScript?
I have a very basic custom list which contains a few People Picker fields. The very first people picker column is called "Name", and I want it to be filled automatically with the current logged user ...
3
votes
0
answers
355
views
Scope client people picker to multiple user groups
I'm using SharePoint 2013. I use the client people picker.
Currently, it picks all users in the site. Can I scope it to several SharePoint user groups (4 target SP groups within the site), so that ...
0
votes
1
answer
1k
views
People Picker finds nothing on new 2016 install
This is a new single-server-farm install of SharePoint 2016 on Win 2012 R2. All seems OK except that People Picker is not finding any users. This should be a vanilla single-domain AD scenario.
I've ...
0
votes
1
answer
2k
views
Focus out event People Picker
I want to do some operation when focus is lost from <SharePoint:ClientPeoplePicker>. Is there is any event like FocusOut or any other event.
Thanks
2
votes
1
answer
2k
views
SharePoint People Picker / SP Group containing AD Group
Problem:
I have an AD group that is used to maintain a list of approvers at the manager level within my organization. We now need to use this exact same list across multiple sites. Our solution was to ...
1
vote
0
answers
832
views
SharePoint 2013 Built-in App Calendar: People Picker - Autocomplete & Saves
Can the built-in Calendar App on Sharepoint 2013 On-premise "Attendees" column people picker be changed to autocomplete/people suggestion on the forms? This app is preferred over creating a custom ...
1
vote
3
answers
2k
views
How to clear ClientPeoplePicker field from a button click event handler?
I am building a custom form that includes a ClientPeoplePicker control.
When the user press the Clear button, all the fields in the forms should be reset to empty/initial status. I can do this for ...