How to download PDF from resources in Reactive

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

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.

Solution

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!!

You are welcome!