You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
implementation of api/SP.UserProfiles.PeopleManager/GetPropertiesFor is not working on on-prem Sharepoint 2019:
current implementation in SPHelper.js in SPHelper.getUserProperties function is:
...
url += "/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor('" + encodeURIComponent(loginName) + "')";
...
this call gets null returned.
Steps to Reproduce
Sharepoint on-prem 2019
Thanks!
The text was updated successfully, but these errors were encountered:
After change in SPHelper.js in SPHelper.getUserProperties function from:
...
url += "/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor('" + encodeURIComponent(loginName) + "')";
...
to:
...
url += "/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName=@v)?@v='" + encodeURIComponent(loginName) + "'";
...
everything works great ;-)
Matej4386
pushed a commit
to Matej4386/sp-dev-fx-controls-react
that referenced
this issue
Jan 27, 2020
Category
[ ] Enhancement
[X ] Bug
[ ] Question
Version
Please specify what version of the library you are using: [ 1.16.0 ]
Expected / Desired Behavior / Question
FieldUserRenderer - after hover on name, additional info should be rendered (mail, tel, position, etc.) after 2 SP calls:
Observed Behavior
implementation of api/SP.UserProfiles.PeopleManager/GetPropertiesFor is not working on on-prem Sharepoint 2019:
current implementation in SPHelper.js in SPHelper.getUserProperties function is:
...
url += "/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor('" + encodeURIComponent(loginName) + "')";
...
this call gets null returned.
Steps to Reproduce
Sharepoint on-prem 2019
Thanks!
The text was updated successfully, but these errors were encountered: