Friday 24 April 2015

All we know that every user in the SharePoint will has his/her own user profiles which will sync automatically when the user added to AD in the organization. To get this user properties we can use any approach like by writing the SOM (Serve Object Model), CSOM (Client Object Model) etc.
In this post I am showing how to get this user profile properties by writing a simple SharePoint Designer workflow. Here we are getting this properties into a list and storing by using People picker field.

Follow the steps to achieve this

Create a custom list and create people picker column in the list
Create columns of which properties you want to get from the properties (Here I have created Email, Phone, Country)
Open your site in SharePoint Designer
Click on the workflows tab from the ribbon, select the list workflow.
Select the list (Here I am selecting the list which created in step 1).
Enter the Name for the workflow and some description for the workflow.
From conditions select If any field equals condition and follow the below steps.




0 comments:

Post a Comment