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.

Filter by
Sorted by
Tagged with
1
vote
1answer
20 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 ...
0
votes
2answers
2k 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
1answer
2k views

How can JSON column formatting be used to highlight duplicate entries in a column a list?

Column formatting is used in SharePoint Online to customize how fields in lists are displayed. Microsoft provide documentation regarding the use of JSON for column formatting. As is described in the ...
0
votes
2answers
1k views

How to get users email address from person or group field - using JSOM

I have a field called Employee and it's a person and group field. How can i get the users email address if i have the display name or the user id. Any tip/help will be appreciated See my snippet code ...
0
votes
2answers
1k views

Check if People picker has any value on document.ready of EditForm.aspx in jsom sharepoint 2013

I am trying to set a Person or Group field value only if it is null. I am checking this on document.ready() of EditForm.aspx of listItem, where If its null, then I want to set its value to currentUser ...