0

I have a list and couple of fields: 1. single text line field "Title" 2. a people picker "Employee".

Would it be possible to set the value of "Title" field in a workflow once the people picker value gets set? All I can see is people picker returning Display Name, Email Address, Login Name, User id number... but not the additional fields that I need.

I see someone had a similar question, but I'm failing finding the solution... SPD 2013 - Copy people picker field to text field in same list

Thanks

0

Your 2013 workflow can make REST web service calls to access User Profile Services data for the user.

General properties:

yourSiteUrl/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName=@v)?@v='spdemo\samc'

A single property:

yourSiteUrl/_api/SP.UserProfiles.PeopleManager/GetUserProfilePropertyFor(accountName=@v,propertyName='Manager')?@v='spdemo\samc'

So you will need get the user from the people picker, retrieve the login name of the user, and then make the REST call for any other property. You may need to use the string actions to split the login name from the full login string. (i:0#.w|spdemo\samc)

  • I solved it by leveraging MS Flow and updating item on item create. Thank you. – Visvaldas Šeškus Jan 28 '18 at 19:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.