We have a system in which the users have an avatar image. We want that Jive should update the similar image in its avatar from that application.Can you let us know how we can do this.
You can use the REST API and create your own service to fetch from one service and update to another:
https://developers.jivesoftware.com/api/v3/cloud/rest/PersonService.html#setAvatar(String, String, String)
curl -u <USERNAME>:<PASSWORD> -F "file=@</filepath/filename.png>;type=image/png" -X PUT -i "<JIVEURL>/api/core/v3/people/<USERID>/avatar"
Thanks for replying!!
We want this for whole community and not for particular user, Since there are thousands of users in the community, how can I then use these curl command.
Please contact us (http://www.fme.de) for more information.
Thanks jgoldhammer - really helpful!
Now, next question for you - have you ever pulled the image out, to populate other systems? ie MS Outlook, Dynamics?
Have not yet, but is more a topic of available rest apis.
Office Online has a api for getting and setting a photo of each user:
Outlook User Photo REST API reference
Dynamics has no api for that AFAIK... Maybe it reuses images from Active Directory, etc?
Thanks Jens! Very helpful -
Could we potentially pull images into Active Directory too?
Azure Active Directory has a REST API to get a thumbnail of a user
Azure AD Graph API Operations on Users
Active Directory installations on-premise don´t have a rest api AFAIK.
Thanks jgoldhammer - much appreciated!
On-Premise installations of Active Directory could wrap a powershell command in a rest api to set photos (custom development)
Weekend Scripter: Exporting and Importing Photos in Active Directory – Hey, Scripting Guy! Blog http://matthewyarlett.blogspot.de/2013/08/add-or-update-user-profile-picture.html
Thanks for replying. Can you suggest me here,I am thinking to create plugin for the same. Is it a right approach. Any suggestions are much appreciated.
Retrieving data ...