How would you get profile picture in email through workflow. We can get dirrerent properties, but how do we get picture?
You can try Query usre profile action and add the people picker field in User and Picture field to properties to retrieve. Before this the Picture option of the userrpofile service should be mapped to active directory in your SharePoint environment.
Picture is mapped to AD, and yes i am trying to pull thumbnailPhoto attribute from people picker field. Can you show how you can pull that to email? Thanks in advance!
Below is what i am doing:
1. getting manager email from people picker manager field
2. querying LDAP with LDAP
path: LDAP://OU=Country,OU=City,DC=domain,DC=com
query: (&(objectClass=user)(mail={WorkflowVariable:txtManager}))
But i get the error. We can may be do it by calling web service but dont know how.