API for Azure Active directory profile pictures
I’ve been trying to get a contact picture on one of my forms (along with the other user info ), I’d like it to pull from our Azure directory and display firstly on the form, then map to my word doc.
https://graph.microsoft.com/v1.0/users/user@company.com/photo/$value
We can pull in the image into an Agilepoint API and pass the data onto a field, but not display it properly, or get the "blob" to work:
https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/profilephoto_get
Can anyone help? Any ideas?
-
Kenneth, I achieved this through rules using the Set Field Value action (setFieldValue Javascript method). My application required a base64 encoded data. But I think you should be able to achieve this by storing the image in a location that is accessible and use that URL when setting the value for the image control through rules or custom JavaScript
请先登录再写评论。
评论
1 条评论