You need to sign in to do that
Don't have an account?
Arpit Mantri 13
Salesforce is not returning back the latest updated user profile photo using connectAPI call from apex
We are executing the below code:
photo = ConnectApi.UserProfiles.setPhoto(communityId, userId, new ConnectApi.BinaryInput(body, contentType, fileName) );
photo.largePhotoUrl does not returns the photo url which we have updated in the above call instead it returns a previously saved photo url.We are facing this issue after winter, 2019 update.
photo = ConnectApi.UserProfiles.setPhoto(communityId, userId, new ConnectApi.BinaryInput(body, contentType, fileName) );
photo.largePhotoUrl does not returns the photo url which we have updated in the above call instead it returns a previously saved photo url.We are facing this issue after winter, 2019 update.