sys_attachment images are not visible for Non Logged in user on Portal

shwetha5
Tera Contributor

Non logged in users are not able see any images on portal. I have created tabel level read ACL on sys_attachment table for public users. Also I have added this attachment table under sys_public list also. Still not able to understand the issue. Can anyone help me here.

4 REPLIES 4

Robbie
Kilo Patron
Kilo Patron

Hi Shwetha,

When you say non logged in users can't see any images on the Portal, are you referring to absolutely all images such as home page images and icons etc, or are you referring to attachments on Knowledge articles for example?

If my assumption of the latter is correct (Attachments and images specifically to Knowledge articles), have you added the 'Knowledge Base' where the Knowledge Articles are saved under to the Portal configuration? Typically this is the 'Public Knowledge base. 

Below is an example using the baseline (Out of box) Customer Service portal with the Public and Customer Service Knowledge bases configured. Apply the same to your Portal.

Word of caution, by adopting this method the Knowledge articles are truly public and open to anyone on the net.

To help others, please mark correct and helpful.

Thanks,

Robbie 

find_real_file.png

shwetha5
Tera Contributor

We have image field. From that field we are showing images on that portal

Hi Shwetha,

Sorry, I'm struggling to understand your question... can you provide a screen shot maybe which will help? 

Thanks,

Robbie

Miguel Donayre
ServiceNow Employee
ServiceNow Employee

Have you tried adding the images to the Image table (db_image)? The images in that table, by default, are made public, and you can even reference them in the portal with HTML. 

https://docs.servicenow.com/bundle/rome-platform-user-interface/page/administer/navigation-and-ui/co...