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
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:
Thanks!!
Hello
I did not find content attribute.there are only URL attribute.
Please suggest how can i download file from Resources folder.
You are welcome!
Hi Ranjeet,
I did attached a sample.
Best regards,
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.
Thank you, it solved it for me, I'm missing that detail of first using a server action.