how can we add another action for attachments in constellations as shown in Image

in the red highlighted part i want to add another action like upload to x database(we have an api) on click backed a activity or data transform will run and save the attachment to the database

Currently we have

Dowload,Edit,Delete and open in tab
i want another one called “Upload” it will upload the single file .

Please let me know your thought and inputs

Regards,
Bibhash

Hi @BKalita

To my best knowledge, i don’t think we have a possible approach to extend and add additional actions for attachments. Because they are tightly coupled with the widget and are strictly internally managed.

If there is a strict requirement that you need to have some custom actions on your attachment, you could try to display them in a separate table and provide custom links column as shown below,

image

This can be a reusable field (URL) DX component where you can define multiple actions as per your requirements to call a local action with a view shown in a modal (You should find the implementation in few of the components in Pega Constellation UI Library).

See if this suits your requirement. Be very cautious before you go with DX Component approach.

Regards

JC

This doesn’t make sense to add it because you’re at the record level where the attachment is already added and associated to the case. If this intended business requirement, then you can created a case wide flow action to display all attachments in a table and you can perform action

Attachment Name : Action

attachment1: FileNet -Upload via API

attachment 2- Azure - Upload via API