Auto-attach a generated PDF to a page?
Hi there,
We were wondering if it is possible somehow to generate a PDF from a page and automatically add it (with a user-definable name) as an attachment to the page from which it is generated. Right now, our workaround is to generate the PDF, download it, rename it, and then upload it as an attachment. This process works fine, but it sure would be nice to just be able to do it all in one step without having to download and then upload again.
Thanks!
Brian
-
Hi Brian,
I can imagine that this might be a common use case for some of our customers.
To create a corresponding feature request for one of the next releases (I really like the idea) it would be interesting to know how we should automize the upload. When talking to our development lead I was proposing to create an additional button on the last dialog of the export (where save is available) called "save as attachment to page".
What do you think or what kind of solution did you have in mind?
Best,
- Tobias -
Hi Tobias,
Thanks for the quick response. I think your proposed solution would work well. This way a user would have the option both to download the file and/or to save it as a page attachment. One thing to be sure to include would be a field where a user can define the name of the PDF to be attached to the page and be prompted about whether or not to replace an existing file attachment with the same name.
Hope this helps, and thanks again!
Cheers,
Brian
-
It might also be useful to attach it to another page. This might sound a little out there, but on our Wiki, there is a space dedicated to 'downloadable content' (not my idea), and it seems like this could be useful for that. Maybe the attachment option would have a page select combo box which was the current page by default
Please sign in to leave a comment.
Comments
3 comments