How to download PDF from resources in Reactive
Question

hi, i have a Reactive app, and I want a button that only downloads a pdf that i have in my resources.

But i can not access to this binary data

mvp_badge
MVP
Solution

Hi Adrian,

You can create a Server Action with a output parameter of binary type, so you can select the content of the resource.

So, use the server action on the download statement.

Regards,

Leandro.

Leandro Correa wrote:

Hi Adrian,

You can create a Server Action with a output parameter of binary type, so you can select the content of the resource.

So, use the server action on the download statement.

Regards,

Leandro.


Thanks!!

Leandro Correa wrote:

Hi Adrian,

You can create a Server Action with a output parameter of binary type, so you can select the content of the resource.

So, use the server action on the download statement.

Regards,

Leandro.

Hello

I did not find content attribute.there are only URL attribute.

Please suggest how can i download file from Resources folder.


mvp_badge
MVP

mvp_badge
MVP

You are welcome!

mvp_badge
MVP

Hi Ranjeet,

I did attached a sample.


Best regards,

Leandro.

ResourceDownload.oml

Leandro Correa wrote:

Hi Ranjeet,

I did attached a sample.


Best regards,

Leandro.


Hello Leandro,

Thank you for help.

i have find another option for the same.

can you suggest which one is better for download static files from resource folder.

blob1.jpeg

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