Allow user to download pre-made template file located in shiny directory?

Hello! I would like to use downloadHandler() to allow users of my app to download an excel template. However, I have only used downloadHandler() when I actually had output from a function. I do not know how to structure the content argument when the file is just located in my shiny directory and I'm not creating anything....any help would be much appreciated! This may be very simple, so my apologies if so...

Does this help?

Hello! I actually ended up just writing a function to create the template instead of referring to one already in my directory, then just passed the output of that function to downloadHandler. Thank you for your response!

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.