- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2020 03:07 PM
I'm currently trying to prevent image attachments from appearing as thumbnails in the activity log.
The thumbnails should be visible when the image is attached, but after a certain field on the form is toggled, a user should no longer be able to see the thumbnails in the activity log. The user should still be able to view the attachments from the attachment related list or the list located in the header, I'm just trying to prevent that thumbnail from appearing.
I thought that all of the records in the activity log were stored in the sys_history_line table, but it seems that attachments don't show up there?
Solved! Go to Solution.
- Labels:
-
Customer Service Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2020 07:21 AM
I found a solution. Originally I wanted to do this in a UI Macro/Formatter, but it kept breaking our form page.
I created an onLoad client script that finds the HTML elements on the page that display the thumbnail images. I then hide those elements, if certain conditions are met, and add a line of text in their place that notifies the user that the thumbnail was hidden.
It seems to work well enough.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2020 03:34 AM
Hi Anthony,
You can refer to the below documentation on how to configure the list of fields displayed in Activity stream.
You can uncheck "Attachments" and you will not see the attachments appearing in the activity stream any more.
Regards,
Sharath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2020 06:10 AM
So, if I were to do that, it would hide the attachment thumbnails for all cases. I'd like to conditionally hide them for specific cases.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2020 07:21 AM
I found a solution. Originally I wanted to do this in a UI Macro/Formatter, but it kept breaking our form page.
I created an onLoad client script that finds the HTML elements on the page that display the thumbnail images. I then hide those elements, if certain conditions are met, and add a line of text in their place that notifies the user that the thumbnail was hidden.
It seems to work well enough.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2020 12:14 AM
I have faced the same problem when we attach any png/jpg images, in the activity thumbnail images preview now shown. But when we click on thumbnail it is opened new tab and the image is shown.
could you please help me how to resolve this issue? you said about if we write on load client script we can resolve it. if yes could you please share the code for the same.
Thanks,
Vinoth R