I'm trying to learn how to create a ribbon button that will allow a user to download a PDF I have uploaded as a web resource.
- Using the Ribbon Workbench I have created the button with a command that has no actions tied to it yet.
- I've also uploaded a PDF by doing a workaround and changing it's extension to HTML, however leaving the name with a .PDF extension.
I'm a bit unsure if now I need to create a JS web resource that makes a call to that web resource or can I create a simple command so that the user will have the PDF downloaded on their side after a click of the button.
I can't find any examples of this online, any help would be appreciated, thanks!