Menu

Deep link to PDF/Binary file

0 votes

Is there any way to deep link to a PDF/binary file, directly to the file preview page (or download)?

i.e. the page with the URL formatted like:

.../Data.ashx?action=getAttachment&pa=2&rt=[LongMysteryString]&t=Pdf

For example, we now have a process in dbFront where users can request certain documents which they can't generate themselves, but need to be generated by a manager. Thanks to the new WebRequest functionality, this can now all be done directly in dbFront. The manager generates the requested file(s) which save to a child table, and marks the request as complete, which triggers an email notification to the requester. Currently the email contains a link to the request record in dbFront. It would be nice to include links directly to the files, essentially "attaching" the PDF files to the email, so they can click the link and it opens the PDF viewer page in a browser, or downloads the file.

related to an answer for: Ability to send HTTP POST requests
in Features (Todo) by (2.4k points)
recategorized by
Could you give a business case of what you are trying to do?  Is the objective to link to a specific table row and retrieve pull/download a specific field value?  A field that could be an attachment?
Sure, added more detail. One for the nice-to-have-if-not-too-hard-to-implement pile.

Please log in or register to answer this question.

Welcome to the dbFront Q&A site, where you can ask questions and receive answers from other members of the community.
 | Minimalist Answer Theme by Digitizor Media
 |
Powered by Question2Answer
...