Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Profile picture won't go away

Peter Bishop
Kilo Expert

I created a user and added a photo through the Service Portal Profile's "Upload Picture" button. I then coded a process so that a user could remove their profile picture which successfully removed the relevant entries from the "sys_attachment" table.

However the picture is still appearing in the user's profile. I cannot find anything in the "sys_attachment" table that has been created/updated today - which is when I added the profile picture - and there is nothing related to this user tagged for "ZZ_YYlive_profile", "sys_attachment", "thumb*", etc.

Is there somewhere else that this information is stored which would normally just be overwritten by adding a new photo? The "photo" entry in "sys_user" is "null" so I'm guessing it isn't there.

Very confused!

1 ACCEPTED SOLUTION

I tried logout/login, browser closure, etc. and none of those worked.

Turned out I needed to clear the cache.

View solution in original post

9 REPLIES 9

Kushagra Mehrot
Kilo Guru

see if you see anything in live_profile table.

Bhagyashree8
Kilo Guru

I replied on our other conversation.

https://community.servicenow.com/community?id=community_question&sys_id=f67fd0fedbe7d744f7fca851ca961970

 

It is stored in live_profile's photo field.

 

Mark my ANSWER as CORRECT / HELPFUL if it served your purpose.

Thanks for this but that value is empty.

Peter Bishop
Kilo Expert

Thanks for that. Sadly there was nothing in there.

However I have a new twist. If I update the photo for a *different* user, the profile from whom the photo was deleted no longer displays their image - ii just shows the initials on a grey background.

So it seems that Service-now is caching the profile photo, even across login/logout events until a different profile photo is uploaded - although that's just speculation.