- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2020 12:25 PM
I've added a HTML widget to our service portal and I have uploaded an image to the widget. The page is active and I can see the image on the portal, however, other users cannot see the image, they see a white cross on a black background.
The HTML widget does not seem to allow you to add the image to the image library, nor can you retrieve uploaded images from the image library, into the HTML widget.
I have had this working before but I cannot remember how.
This is what the page looks like for me:
And this is what the same page looks like for another user:
Any help would be appreciated.
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-30-2020 12:39 AM
Hi Matt
Navigate to the sys_attachment table and navigate to Configure > Security Rules
In the next list you have all the access controls available to execute the CRUD for the table. Group by Operation and focus on the READ ones
Create a new Access Control on READ similar to the next image
This will allow people to see any image or attachment used by service portal instances in general
About access controls..
- First of all you can release/restrict content so be very careful or you can show something that user are not allowed OR hide something that they can see.
- In order to create Access Controls you need to elevate your role to security admin
Cheers
R0b0

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2020 12:42 PM
How did you build this and why did you use html widget?
Do you have option to use link-button widget instead?
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-30-2020 12:15 AM
Hi Sanjiv
So I've build a new portal page that will effectively be a landing page whereby you can navigate to other Knowledge content held within ServiceNow. The aim is to have it a little bit like an intranet where our colleagues can go to navigate to different Policy information in a more visual way by having tiles that they click on.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2020 12:58 PM
If you want to use the "add picture" feature in the HTML edit tool, you can always use a create a new Knowledge article and add the picture in the article body the way you want you to want it. Once you are done hit the source code button and copy the code. Now take that code and paste it in the HTML widget.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2020 12:59 PM
Hi Matt
The problem is the access to the sys_attachment table.
As Admin you have full access, no problem for you.
Unfortunately it's not the same for the other users.
You can think to include a new Access Control to release attachment for a specific widget instance.
That's going to work .
Cheers
R0b0