Joydeep Das (Joydeep)
Tata Consultancy Services Limited

Tata Consultancy Services Limited
Joydeep Member since 2008 8 posts
Tata Consultancy Services Limited
Posted: January 21, 2021
Last activity: January 21, 2021
Posted: 21 Jan 2021 0:01 EST
Last activity: 21 Jan 2021 2:04 EST

Show operator image from corporate directory

HI All,


We have a requirement where the operator image on the operator profile has to be fetched from the corporate directory system. This system exposes the image in 2 ways

  1. Using a REST API which sends the image as a stream. 
  2. URL which can be accessed with in the intranet using which the image can be loaded using a control

Pega out of the box, shows this operator image as a avatar on the profile page, assignment headers, pulse and many places using pxOperatorImage & pzDisplayOperatorImage  controls.  pxOperatorImage takes the image on the from the operator profile to show this . So the questions we are facing are

  1. Is there a way that the image can be loaded using the URL provided in option 2?
  2. Or should the image has to be fetched as a base64encoded stream object using the rest API and save the stream as the operator image?

If the rest API is called, then a service call should be made during every new user session to fetch this information. Is there any configurable item with in the pega platform where we could use the URL and replace the operator Image with the one in the corporate directory.


We do not want to customize the control as these are final rules and would make the upgrades expensive. 


We are on pega 8.4




***Edited by Moderator: Pooja Gadige to add platform capability tag***
Pega Platform 8.4 User Experience Case Management Enterprise Application Development Low-Code App Development Healthcare and Life Sciences Lead System Architect