Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to populate user profile image from the backend on portal?

Community Alums
Not applicable

I want to load user images which can reflect on portal end. I can see the portal is picking it from live_profile table photo field. Could anyone assist on loading images into this table?

2 REPLIES 2

Gaurav Bajaj
Mega Sage

Hi,

If you check the user profile widget on the service portal, it's calling an API for live profile table & getting the response within client-side code itself.

Once you have it, URL has been set it scope & it displays the image the on HTML page.

 

Reference: User profile widget

find_real_file.png

 

find_real_file.png

Please mark it correct/helpful based on the response.

Thanks
Gaurav

Community Alums
Not applicable

Thanks for the response, question is how to load images to the live_profile table?