Hide Add files/Add Links from Attachment Widget

Hi All,

I am using Constellation version 25.1.2. I wanted to understand if there is any possibility to hide the Add files/ Add links options from Attachment widget as shown in the screenshot.

I can see there is Display Attachment widget available to list all the attachments, but that is configurable only in Work portal channel but not in Self Service portal channel as shown in the screenshot below.

Thanks in advance.

@MarcCheong Can you help on this topic

The Attachment widget has limited out-of-the-box configurability. There is no supported OOTB setting to hide only Add files / Add links while still using the standard attachment widget in the Self Service channel. The Display Attachments widget is the supported read-only pattern, but its availability and placement depend on the channel and screen design.

what business problem are we trying to solve by hiding these actions?

If the goal is simply to make the experience read-only, then the cleanest approach is to use a read-only attachment presentation. If uploads are supposed to happen elsewhere, then the better design is to remove upload capability from the user journey altogether rather than partially masking the standard widget.

You can try to use the read-only attachment display pattern where supported, remove the attachment widget so that its not shown to user and if you need channel specific behaviour in Self Service, this likely requires a custom approach rather than a simple configuration change.

In version 25.1.2, there isn’t an option to hide this. In the latest release, we’ve introduced the ability to control visibility based on the attachment category. If the “CanCreate” is set to false for all categories, the option will be hidden.

Hi @SangeetaKottilinga Thanks for your reply.

May I know which latest version you are talking about. And can you also please elaborate on “CanCreate”.

Hi @RaviChandra Thanks for your reply.

The business requirement is that Self service portal is used by the end user, and that end user is not supposed to upload any attachments using this Attachment widget inside a service case. They should be able to only view and download the attachments.

Could you please confirm that you’re referring to Custom DX component “Display Attachments” that you’re not able to add it to Self Service portal?

@RameshSangili Yes, Indeed

@AjitKumarC17810417
if Self Service users are only meant to view/download attachments and not upload them, then the attachment area should be treated as read-only for that portal. Constellation does not provide a supported toggle to hide only Add files / Add links from the standard widget while retaining it in the same form. The better approach is to use a read-only attachment display pattern or adjust the Self Service experience so upload actions are not available to that audience

I believe @SangeetaKottilinga is talking about the below option in the Attachment Category. I tried in 25.1.3 and it is still not available. So, I assume it will be in 26.

You could also consider not using this widget? This is my default whenever someone wants to customise these widgets. They are provided to speed up delivery for the use cases they were designed. IF they don’t suit, then there are other ways to achieve this.

If you add attachments to the case tabs, they are by default read only. So they can be reviewed and viewed.

I don’t have an immediate screenshot but here is one for attachments on embedded data, where its read only in a form. However, same applies for Case Tabs and Case level attachments.

Source: Data Level Attachments

HI @RaviChandra , yes the Self service portal need to be adjusted, that is why I was thinking to use Display Attachments widget in Self service portal, but there is no option to configure Display Attachments widget in that portal. It is only available in Work portal.

Hi @MarcCheong thanks for your response.

Indeed we don’t want to use that widget and instead use Display Attachments widget but this is only configurable in work portal but not in self service portal.

You can return to the old self service portal layout, which was just normal case view with tabs. However, yes, I can see the problem there…

What if you have a promoted action call “view attachments” that launched a case wide action that showed this list that you would of been putting in case tabs? Not ideal, but without case tabs to show read only the best I can think of.

Infinity '26 is fast approaching, with more configuration of layouts and full case page. So watch this space!

To stop the Add Files and Add Links options from appearing, avoid trying to hide buttons on the Attachment widget itself. Instead, switch your self-service portal back to the classic case view layout that uses case tabs, since attachments shown through case tabs are read-only by default. This way users can view and review existing files but cannot add or link new ones. It works around the fact that the read-only Display Attachments widget is currently only configurable in the work portal, not in the self-service portal. Once tabs are used, the attachment list behaves as needed without any extra hiding configuration.