Uploaded image for project: 'Document Management System (closed)'
  1. Document Management System (closed)
  2. MGNLDMS-155

Better mechanism to distinguish between inline viewing and direct downloads

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Major
    • None
    • 1.3
    • None

    Description

      Sorry for all the forth and back in that topic. After a few quite minutes I think that the following solution might be best:

      • if you want to perform a direct download or view the content in the browser depends on the usecase and not on the file type
      • showing the content in the browser should be the default behavior (pdf, images, flash, word, ...)
      • to trigger a direct download the system provides a specific url or parameter
        • a) download=true
        • b) /dms/file.download.ext (for cachability)
        • c) /dms-download/file
      • the dms dialog uses the direct download link
      • the dms dialog shows the image (similar to the binary control in normal dialogs)

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                pbaerfuss Philipp Bärfuss
                pbaerfuss Philipp Bärfuss
                Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: