Hi, calling for help with an issue in Confluence.
Use-case/requirement: User should be able to download a pdf file once he/she clicks on a button in Confluence page. It should not give preview or open the file directly on the page, but ask to save/open.
Our solution: We created a button kind of image in draw.io and embedded the pdf file. To avoid showing the draw.io toolbar we chose the option to hide the toolbar.
Problem: The problem with the drawio macro is that there is a gap automatically formed before the next line or just below this draw.io button/image. We could not contain text line immediately.
Looking forward to some help on this
Hello @Ganesh_Kumar_Vary !
It surely is possible for you to create a download button in a Confluence page. There is even the possibility of you using a simple image as the button. There is no need for you to resort to the usage of a macro such as Draw.io.
Here is a .gif of how to achieve this:
The text explanation follows:
- Go to the page which contains the attachment
- Click the paperclip at the top left corner (this will take us to the attachments page for that page)
- Click to preview the desired attachment
- Click with the right mouse button on the Download button at the top right corner
- Select to Copy Link Location
- Go to the page where you need to place the download button
- Enter edit mode
- Upload or select an image to be used as a button
- Select the image
- Click the LINK option
- Select Web Link
- Wait a few seconds
- Paste the link you copied earlier
- Click save
- Publish the page
I hope this helps you out, Ganesh! Looking forward to your reply.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.