Retrieve Files from S3 bucket and Display on Screen
Question
Application Type
Reactive

Hi community , I created a s3 bucket , I am able to store files in a bucket .  and upload it how can  I make downloadable links on screen.

s3new.aop.oml

do I have to drag objectget_tag 

Screenshot20211001at11.02.04AM.png

mvp_badge
MVP

Hi Sarah,

To retrieve files from S3 Bucket, you will have to call the Objects_List action with required parameters within the DataSource action and map the output list to the Table widget as a source list. 

I made the required code changes in the shared .oml file. Refer to the attached .oml file.


I hope this helps you!


Kind regards,

Benjith Sam

s3new.oml

thanks a lot for your help, I will implement it and let you know. 

I tried it showed this error of region ApSouth1. 

Capture.PNG

mvp_badge
MVP

Hi Sarah,

Sorry! It was because of the incorrect Region value assignment in the OnInitialize handler flow.

Correct Region Value:

I'm able to access all the objects in the S3 bucket space: RWA | Get S3 Object List

Refer to the attached .oml file


I hope this helps you!


Kind regards,

Benjith Sam

s3new.oml

It was really helpful for me.Thanks a ton.It is working

mvp_badge
MVP

You're welcome, Sarah.

If the shared solution resolved your case, I would appreciate it if you could mark my post as a solution

Glad to help you :)

 

Kind regards,

Benjith Sam

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.