Uploaded image for project: 'Document Management System'
  1. Document Management System
  2. DMS-332

Embed thumbnail of PDF in email body and download that pdf from email

    Details

    • Type: New Feature
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Company:
      All Clients/Multiple Clients

      Description

      This is subtask of DMS-32 to be taken in sprint 5.
      Tasks :
      1.Create pdf image and embed that in email body.
      2. Create link and attach it to image onclick event. Reuse Download pdf API if possible Or else create a subtask for API
      2. On click of that image, invoke an api to download that pdf.

        Attachments

          Issue Links

            Activity

            Hide
            akash.thakur Akash Thakur (Inactive) added a comment - - edited

            Hi All,

            As per the requirement & Description mentioned above, we have done R&D along with the analysis of this implementation

            1. We are using Ghostscriptsharp library to create pdf thumbnail (I have found the only possible way for Asp.net core framework)
            2. We are embedding the created thumbnail into HTML using Base64 encoding as suggested for Sendgrid (Gmail is blocking this, works with other clients)
            3. We are using File download API from user controller with route attribute and parameter encryption to download the file from email.

            This Jira will be deployed after code review.

            Thanks,

            Akash Thakur

            Swapnil Pandhare Samir Ganesh Sadawarte Harshveer Singh Mohd Belal Narendra Kumar

            Show
            akash.thakur Akash Thakur (Inactive) added a comment - - edited Hi All, As per the requirement & Description mentioned above, we have done R&D along with the analysis of this implementation We are using Ghostscriptsharp library to create pdf thumbnail (I have found the only possible way for Asp.net   core framework ) We are embedding the created thumbnail into HTML using Base64  encoding as suggested for Sendgrid ( Gmail  is blocking this, works with other clients) We are using File download API from user controller with route attribute and parameter encryption to download the file from email. This Jira will be deployed after code review. Thanks, Akash Thakur Swapnil Pandhare Samir Ganesh Sadawarte Harshveer Singh Mohd Belal Narendra Kumar
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            Hi Akash Thakur

            Can you please let us know what need to be check under this jira?

            Thanks,
            Jayshree

            cc - Priya Dhamande Swapnil Pandhare Samir Ganesh Sadawarte

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Hi Akash Thakur Can you please let us know what need to be check under this jira? Thanks, Jayshree cc - Priya Dhamande Swapnil Pandhare Samir Ganesh Sadawarte
            Hide
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment -

            Verified the thumbnails feature for completed send forms email
            We are receiving an email along with thumbnail.
            Also able to open the link received in thumbnail and PDF is opened

            working fine,Closing this ticket

            Thanks.
            Jayshree

            cc- Priya Dhamande Swapnil Pandhare Samir Satya Hrishikesh Deshpande

            Show
            jayshree.nagpure Jayshree Nagpure (Inactive) added a comment - Verified the thumbnails feature for completed send forms email We are receiving an email along with thumbnail. Also able to open the link received in thumbnail and PDF is opened working fine,Closing this ticket Thanks. Jayshree cc- Priya Dhamande Swapnil Pandhare Samir Satya Hrishikesh Deshpande
            Hide
            prasad.patil Prasad Patil (Inactive) added a comment -

            Hi Molly Ronovsky,

            Verified the implementation.

            Working as expected.

            Test cases: Testcases_DMS-332.xls

            -------------

            CC: Samir, Priya Dhamande

            Show
            prasad.patil Prasad Patil (Inactive) added a comment - Hi Molly Ronovsky , Verified the implementation. Working as expected. Test cases:  Testcases_DMS-332.xls ------------- CC: Samir , Priya Dhamande
            Hide
            molly.ronovsky Molly Ronovsky (Inactive) added a comment -

            Prasad Patil Yes, this looks good.

            Show
            molly.ronovsky Molly Ronovsky (Inactive) added a comment - Prasad Patil Yes, this looks good.

              People

              Assignee:
              priya.dhamande Priya Dhamande (Inactive)
              Reporter:
              swapnil.pandhare Swapnil Pandhare (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 40h
                  40h
                  Remaining:
                  Time Spent - 17.25h Remaining Estimate - 22.75h
                  22.75h
                  Logged:
                  Time Spent - 17.25h Remaining Estimate - 22.75h
                  17.25h