Questions tagged [person-or-group]
Use this column field type to provide a searchable list of people and groups from which people can choose when they add or edit an item.
76
questions
1
vote
1
answer
39
views
How to write an IF statement in JSON Formatting on a SharePoint List to get the user's profile image based upon a chosen field value
I'm writing an IF statement in JSON formatting to get a particular image for a card view.
Basically, if the SharePoint field 'IndOrTeam' equals 'Team', then a group image stored in Site Assets is ...
0
votes
1
answer
55
views
How to retrieve or download SharePoint empty user profile picture?
I would like to know is there a way to download or retrieve SharePoint empty user profile picture?
For example: If you use a person column in SharePoint and get the picture from everybody. The persons ...
0
votes
0
answers
54
views
Persona card Hover on SharePoint Custom field
I have a search result web part for a custom List with People Picker field.
Is it possible to use the Persona Card hover function from People Search layout under this Field?
0
votes
0
answers
35
views
SharePoint Online People Picker OOB Field List VS Library
I have a SharePoint online list and a library with a People Picker field. Here, whenever I add the users to both the list and library, the order of names gets changed in the OOB List Edit Form but not ...
1
vote
1
answer
363
views
Is there an alternative to "_api/web/siteusers" or "_api/web/sitegroups" that is able to return both groups and users?
Is there an alternative to _api/web/siteusers or _api/web/sitegroups that is able to return both groups and users?
I'm looking for a way to return the person OR group title from a SharePoint item ...
1
vote
1
answer
574
views
People Picker Apply to each Creating multiple entries when Copying to separate list
The problem I have is, I have a flow that triggers when and item is created. This flow copies items to another list.
The items it copies over
single line test fields
Multi line text fields
People ...
0
votes
2
answers
3k
views
How to get email and send Email To Multiple Values In People Picker Field In SharePoint
Any ideas how I can easily send email from multiple values in person and group field using power automate?
Thanks in Advance.
0
votes
0
answers
42
views
How do I set a person or group field via the API V1 using Rails with Faraday?
I've seen several similar questions and the crux of the answer seems to be that I should add "Id" to the field name and pass the user's id. Here for instance:
How to update "Person or ...
0
votes
1
answer
286
views
Add row to SharePoint List (People or group column multiple ID's) in Rest API
I'm trying to add multiple people into a list column of the type People or Group that can have more than 1 person.
My Column ProjectOwner doesn't exist If I pick up the data in the rest API, but there ...
0
votes
1
answer
2k
views
Create item with Person or Group column with HTTP request in Power Automate
I am struggling with creating a new list item with Person or Group column via HTTP request in Power Automate while using claims of the users. I can't get the syntax to work.
I was able to create ...
1
vote
1
answer
815
views
Filter a SharePoint list view with JSON?
I would like to be able to filter the list view by group column.
I know this is possible through SharePoint designer 2013, but I would like to do it through JSON formatting, is this possible?
Thank ...
0
votes
2
answers
803
views
Error Posting to Person or Group Field
When I submit the info to the list, I was getting the following error (which I assume is due to
trying to incorrectly post to a Person or Group column:
A 'PrimitiveValue' node with non-null value was ...
1
vote
1
answer
1k
views
Take value from a person or group column in a list and insert it into another list
I have a list that includes a person/group column, and I'd like to set up a flow to extract that value and insert it into a similar column in a different list.
Is this possible?
Not quite sure what ...
0
votes
1
answer
434
views
Prefilled new item with dynamic value
I need to click on new item and the employee field to be prefilled with correct employee
I added this functionality using a code in modern part editor but when I click on cancel button a new empty ...
0
votes
2
answers
3k
views
Having a problem with Apply To Each in a simple email flow
I'm creating a simple alert email flow. When an existing item is modified -> Send an email (V2).
The problem is I need to CC all the users in a Person/Group field with Multiple Users checked. When ...
0
votes
1
answer
1k
views
Update People picker column using JSON formatting SharePoint
Can we update people picker field in SharePoint using JSON formatting?
I want to update field with current user name.
0
votes
1
answer
121
views
Dynamically add ppl picker controls but can enter user name only in last ppl picker control
I use the following code to create row dynamically. Each row has a people picker field.
$("#add-new-msdetail").click( e => {
var cnt = $('.form-group-5').length;
var id =cnt+1;
...
0
votes
1
answer
84
views
Change value of PesonOrGroup 'Show field' value with powershell
Using SharePoint 2013 enterprise on-premises.
Last week a user recommended changing the 'show field' value from the default to 'Account' on our task lists. This is hundreds of changes as we have 220+ ...
0
votes
1
answer
3k
views
How do you use power automate to copy one list to another list when the first list contains a column of type person or group?
I have two lists in Sharepoint. My first list has a column of type Person or Group. I'm new to Power Automate, but I believe it's an array.
I am trying to copy 1 record from the first list into a ...
0
votes
2
answers
539
views
Access Changes SharePoint Person/Group Field Data Type so it Can't Be Saved into 2nd SharePoint List
I have a SharePoint list linked in Access, where I query it to append records to a second linked SharePoint list. The problem is with person/group fields that I can't get to make the trip through ...
0
votes
1
answer
1k
views
Add a people value to a SharePoint Online list using the email address
Using SOAP Services, we used to be able to add multiple items in a list that contains a people field just using the email address and without knowing the user id. In that case the value to provide was ...
1
vote
1
answer
584
views
How to return user email from a custom column "Owner" to an XML from sharepoint online list using CSOM?
How to return user email from a custom column "Owner" to an XML from SharePoint online list using CSOM?
This works but bug exists as it sends Microsoft.SharePoint.Client.FieldUserValue[] ...
1
vote
1
answer
891
views
How to add users to a list by REST API before they are added to a list manually
I'm using SharePoint Online and SharePoint REST API v1.
I realize that after a user is added to people column of a list manually, I can get user ID and add this user to a column by the API.
But I need ...
1
vote
1
answer
757
views
Get Group Details from Person or Group field using REST API?
REST API I am using:
_api/web/lists/getbytitle('listname')/items(100)?$select=Initiator/EMail,RAReviewers/EMail&$expand=Initiator/Id,RAReviewers/Id
In this RaReviewers column is a Person/Group. ...
2
votes
1
answer
653
views
"Person or Group" picker showing users outside the SharePoint gorup
I have created a list and have added a Column of the type "Person or Group".
I have limited this field to just look into a SharePoint group to get an option
When I go and add an item the ...
1
vote
1
answer
25
views
Assign peoplepicker value in sharepoint from ASP.Net Web API 2.0
I have an API developed in ASP.net Web API 2.0 which inserts records into SharePoint 2013 list.
I am able to assign values to all the fields from the API except for the people picker fields, says
...
0
votes
1
answer
71
views
Using multiple groups for "People or Groups" column
I have a SharePoint group of people that have a certain access in the system (let's call the group "Verified") and a form field ("User") that references this group so that ...
0
votes
1
answer
307
views
List: People Picker entries only from other list
I'd like to have a list of active squads (List A) in our company. The list should be filled with the squad name and the members. The people picker field should only display employees, which are stored ...
0
votes
2
answers
254
views
Is it possible to put JSON-code in metadata-columns?
I am using 2 metadata-columns in my SharePoint-List: "Created By" and "Change By". In these columns a name appear of the person who has created or changed the List-item. I would ...
0
votes
2
answers
150
views
List Column "made by" and "change by" (with presence) not showing the presence
I have 2 columns "made by" and "change by" with the following settings: person (with presence).
But it doesn't show the presence.
Like this picture below, it shows I am present by ...
0
votes
1
answer
1k
views
Emailing All Persons in a Sharepoint List Person Column
Hoping someone can help here. I'm new to SharePoint and just finding my way.
Within a Sharepoint list I have a person column named 'Initiative Leads'.
I want the end user to be able to click on an ...
0
votes
2
answers
317
views
How to set System account as value to SharePoint people picker field using power automate?
I want to set the people picker field value with SharePoint online default system account using power automate.
Please guide to achieve the same.
0
votes
2
answers
1k
views
How to update multiselect people picker field in power automate using Update Item action
I have a SharePoint list with Approvers as multiselect mandatory user field. There is a power automate flow which uses SharePoint Update Item action to update few fields.
As the approvers field is a ...
1
vote
1
answer
71
views
Return list values from column type 'User' and replace that user if they exist using PS in SP2016?
First off my code is this.
foreach ($list in $web.lists)
{
foreach ($field in $list.fields)
{
if ($field.type -eq 'User')
{
write-host $list.Title
...
1
vote
1
answer
236
views
SharePoint people picker columns not showing as hyperlinks in modern view
I've got a SharePoint list which has a People Picker column allowing groups.
In SharePoint 2013 and in classic experience, I am able to click the group name to be taken to the group members list (and ...
1
vote
1
answer
33
views
Rest API show items if current log in user equal me
I have two user column in SharePoint 2013 RequestedFor and CC. I want to display items only if the user in either column is equal current log in user.
So far I'm able to display items when Requested ...
1
vote
1
answer
1k
views
Update or set value in people picker field using API
I am trying to set value in people picker field. I want to pass an Email address of the employee instead of employee ID in the API.
Any help is highly appreciated.
Using API endpoint: _api/web/lists/...
0
votes
2
answers
2k
views
Filter a list by User or Group column in CAML Query
Is there a way to filter a list by User or Group column?
I need to get all the tasks assigned to each user in a site.
I got the below code for now, but that only works if I'm trying to get my tasks.
...
1
vote
1
answer
1k
views
Definitive list of object properties available through column formatting
I have been referring to:
Use column formatting to customize SharePoint
And also reading multiple blog posts around the subject.
I have not yet found a definitive list of object properties ...
0
votes
2
answers
57
views
Covert a list<string> into List<FieldUserValue>.Error "Property or indexer 'FieldUserValue.Email' cannot be assigned to -- it is read only"
I have a List<string> which contain email addresses, and I want to create List<FieldUserValue> from it, I tried the following:
List<FieldUserValue> fuv = new List<FieldUserValue&...
0
votes
1
answer
844
views
How i can convert User to FieldUserValue inside my CSOM code [duplicate]
I have the following CSOM code:
Group group = web.SiteGroups.GetByName(subsitename);
List<FieldUserValue> currentgroupUsers = new List<FieldUserValue>();
foreach (...
1
vote
2
answers
24
views
Unable to save all users into SharePoint list
I am creating a list item using the code below:
var context = new SP.ClientContext.get_current();
var dfd = $.Deferred();
var targetList = context.get_web().get_lists().getByTitle(listName);
...
0
votes
1
answer
2k
views
How to update the people and group column with multiple values in SharePoint
I have a person or group column in SharePoint 2013 I want to set the multiple values I have set its value like 1;#pallavi it's working but when done for multiple values like 1;#pall;#2;#shee it's not ...
0
votes
1
answer
1k
views
Filter gallery by current user in Powerapps
I would like to Filter the gallery by the current user in Powerapps.
It tried using Filter('Declaraties';Naam.Email=User().Email) in the Items field in the gallery.
But did not work.
Than I ...
1
vote
1
answer
777
views
Update person field (multiple selection) using JavaScript without PnP
I am trying to create an SPFx web part using SharePoint 2016. When adding PnP to SharePoint 2016, it's giving me errors and not working like when I add it to a SharePoint online SPFx web part. How can ...
0
votes
2
answers
3k
views
Formatting multiple values in people and group fields on SharePoint Online with JSON
Wondering if anyone can help me out with figuring out the formatting my multiple values person field on my list. I cannot figure out how to space out the names of each individual under the "...
0
votes
1
answer
32
views
Person and group multible selections separate names
So I got this problem where the names stands after eachother, is there anyway to move Alexanders name under Jonas?
See picture:
0
votes
2
answers
744
views
JQuery - Set Person Field Value
How to set person field on form load and save the field value when item saves. I have added following code in script editor web part NewForm.aspx. But this is not working. Appreciate your support.
$(...
0
votes
1
answer
723
views
Create a drop down menu based on a group
I have a group called Onshore Management and I want their names to populate a drop down menu so the appropriate person can be selected on a calendar event.
Is there anyway to do that?
0
votes
2
answers
1k
views
Get profile properties from person/group field using rest api [duplicate]
I have a list with a person field. I need users to fill in the field with their names but I need to get the following properties below from that field using rest API:
Email Address
Name(Full Name)
...