- 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-30-2020 12:25 AM
So I managed to get this working a few months ago and non admin users could view the images. We have upgraded to Orlando since I originally built the page so I'm not sure if that has anything to do with it.
We recently had a clone back from our production instance and I forgot to back up this page. Now I'm rebuilding it, when I attach the image to the HTML widget, others can't see the images.
Regards
Matt
- 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-30-2020 02:07 AM
Thanks
Thank you so much for your help!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2023 05:28 AM
I've spent hours trying to figure this out and luckily found your solution. Worked perfectly, thank you so much for the detailed response and print screens.