Forum Discussion
People picker SP2016 vs SP2019
I have a problem wit people picker in new 2019 environment. I have a custom code (which I am not able to change) which works in 2016, but not in 2019 people picker fields.
It seems that picker field in 2019 does not have "Principal Type" property when I write the name of the user in the people picker. But it does have that property when the name of the group is written.
So, in the first image (when SP group is in people picker), "PrincipatType" property is present in EntityData of people picker. In the second image (when user name is in people picker), property "PrincipalType" is missing and code breaks.
In SP2016 both cases work fine.
What is the problem here and is there a way to fix this (without changing custom code)?
1 Reply
- MarioZagrebCopper Contributor
I found people have same problem here, but there is no solution?
https://sharepoint.stackexchange.com/questions/96833/entitydata-in-peoplepicker-in-claims-mode
Except to change custom code?