Add download button to a media type document

I am using Bloomreach 14.7.21.
In my project I have Media Document Types like audios and videos which can be uploaded to an S3 bucket. Is there a way to add a download button or a link to the media stored in S3 so the CMS users can download it in View mode?

Hey Razvan,

By default, assets are not stored in S3 and are downloadable through the CMS UI. You are saving your assets in S3, telling me you have some customizations to your asset management. Could you please provide more information about your customizations?

How are you saving these assets to S3?
What customizations have you made to the UI?

Hi Nicholas,

I am using the Resource Cloud plugin to upload the assets to S3 (only for videos and audios)

I see. Assuming you are referring to this plugin: GitHub - bloomreach/xm-s3-manager: AWS S3 Manager feature using Open UI

Downloading the assets is not currently supported by the plugin. In order to support that, the plugin will have to be updated.

It looks like xm-s3-manager/api/src/main/java/com/bloomreach/xm/manager/s3/service/AwsS3ServiceImpl.java at master · bloomreach/xm-s3-manager · GitHub line 104 is where the objects are retrieved and listed. If this list has enough meta information to derive a download link from S3, the only real difficulty I see here is updating the UI to allow the download. This will of course depend on how S3 download links are generated.

Thank you for your reply, Nicholas.

Would you know if it is possible to have the download button on the view mode of a Document Type, before editing the Document?

I managed to do some customization on the UI of the fields and add a link which is now available on View mode

Hi @Razvan ,

We are happy you are part of Bloomreach Developer’s Community.
Thank you for reaching out to us.
We hope we have answered your queries and therefore marking this thread for Closure.
Looking forward to your continuous contribution towards our vibrant Bloomreach Community.

Thank you