Update another operator's image from case manager
When viewing a case, we currently display the image of the operator that created the case.
We have a new requirement whereby some business admin users will be working on a case and are able to upload a new operator image for the case creator.
So, John is an operator with an image on his operator record and he creates a new case. Jane is a Business Admin user and opens the case that John created - she can see John's operator image. Jane then wants to upload a new photo for John and have this uploaded to his operator record. The screen displaying the case should be refreshed so that Jane can see John's new photo.
There are two general areas in the product that we could look at: the actual operator rule form and the profile picture functionality as used in Pulse.
We can get most of this working using the Pulse approach (although it's not ideal) but the issue is that although we can update the target operator record, the new image is not reflected on the screen. If we close the browser and re-open it we do see the new image. However, if we were to 'hard-code' the logged-in user's pyUserIdentifier rather than using the one from the case, not only is the operator record updated but the screen refreshes and shows the new image. Obviously, there is some functionality that is clearing or replacing the image within a cache or on some page - we just don't know what it is. Can anyone point me in the right direction?
When viewing a case, we currently display the image of the operator that created the case.
We have a new requirement whereby some business admin users will be working on a case and are able to upload a new operator image for the case creator.
So, John is an operator with an image on his operator record and he creates a new case. Jane is a Business Admin user and opens the case that John created - she can see John's operator image. Jane then wants to upload a new photo for John and have this uploaded to his operator record. The screen displaying the case should be refreshed so that Jane can see John's new photo.
There are two general areas in the product that we could look at: the actual operator rule form and the profile picture functionality as used in Pulse.
We can get most of this working using the Pulse approach (although it's not ideal) but the issue is that although we can update the target operator record, the new image is not reflected on the screen. If we close the browser and re-open it we do see the new image. However, if we were to 'hard-code' the logged-in user's pyUserIdentifier rather than using the one from the case, not only is the operator record updated but the screen refreshes and shows the new image. Obviously, there is some functionality that is clearing or replacing the image within a cache or on some page - we just don't know what it is. Can anyone point me in the right direction?
The issue is not so much the updating of the target operator record, it's that we can't see the new image without closing and re-opening the browser. But it works ok for the logged-in user!