You need to sign in to do that
Don't have an account?
Arpit Mantri 13
0 replies ConnectApi.UserProfiles.getPhoto().largePhotoUrl does not returns the photo url which we have updated in the above call instead it returns a previously saved photo url after Winter 19 release.
Issue: 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.
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.
Pooja Agrawal 8
Facing similar issue after winter 19 update. Any workaround available?