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

Document Preview: Show document data when document get sent

    Details

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

      Description

      Document Preview: Show document data when document get sent

      CC-Samir,Rohan J Khandave

        Attachments

          Activity

          Hide
          Ganesh.sadawarte Ganesh Sadawarte (Inactive) added a comment - - edited

          Hi Samir,

          Please find below details.

          Current Implementation:

          • On sent form preview will save mapped field data to database.
          • On review and sign page will update data for mapped to database and non mapped fields & JSON attribute along with mapped fields.

          Questions:

          • If we are showing data of document when it was sent. So should we considered this in all places like.
            • DMS preview after completing document by candidate[Admin and Candidate]
            • DMS download completed forms.
            • Integration API Viewer screen
            • Integration API Preview.
            • Integration API Download [CBAT & CBES].
            • Embedded UI.
            • Document completion email thumbnail.
          • If we are implementing this in all place, then when latest data get shown.

          Samir Please provide details on above so we will proceed further.

          CC-Rohan J Khandave,Priya Dhamande

          Thanks,
          Ganesh

          Show
          Ganesh.sadawarte Ganesh Sadawarte (Inactive) added a comment - - edited Hi Samir , Please find below details. Current Implementation: On sent form preview will save mapped field data to database. On review and sign page will update data for mapped to database and non mapped fields & JSON attribute along with mapped fields. Questions: If we are showing data of document when it was sent. So should we considered this in all places like. DMS preview after completing document by candidate [Admin and Candidate] DMS download completed forms. Integration API Viewer screen Integration API Preview. Integration API Download [CBAT & CBES] . Embedded UI. Document completion email thumbnail. If we are implementing this in all place, then when latest data get shown. Samir Please provide details on above so we will proceed further. CC- Rohan J Khandave , Priya Dhamande Thanks, Ganesh
          Hide
          Ganesh.sadawarte Ganesh Sadawarte (Inactive) added a comment - - edited

          Adding scenario to on above if JSON attribute not present then will show the data from database.

          CC-Rohan J Khandave,Samir

          Show
          Ganesh.sadawarte Ganesh Sadawarte (Inactive) added a comment - - edited Adding scenario to on above if JSON attribute not present then will show the data from database. CC- Rohan J Khandave , Samir
          Hide
          ramya.tantry Ramya Tantry (Inactive) added a comment -

          Hi Samir, Harshveer Singh,

          Please review DMS-1757.doc document and let me know in case of any changes.

          CC: Rohan J Khandave,Ganesh Sadawarte,Priya Dhamande

          Show
          ramya.tantry Ramya Tantry (Inactive) added a comment - Hi Samir , Harshveer Singh , Please review  DMS-1757.doc  document and let me know in case of any changes. CC: Rohan J Khandave , Ganesh Sadawarte , Priya Dhamande
          Hide
          ramya.tantry Ramya Tantry (Inactive) added a comment -

          Implementation details :
          1. Document when sent through Send forms from UI, all form data will be saved as JSON against that document.
          2. When document is opened by candidate,data will be populated from saved JSON. On Submit or decline, form data (JSON) will be updated for that document.
          3. Document when sent through Custom API's by Admin (senddocument as 0,1,2), form data is not saved in this case. When candidate opens the link, latest data from DB will get populated on PDF. Data will be saved once candidate clicks on Submit or decline.
          4. Form data will be saved when document is saved by Admin when it is sent from Custom API with senddocument as 3 and same will be populated when candidates opens the document.
          5. Signature will always be fetched from DB. 

          Basic Scenarios:
          1. Send document from Send forms -> Candidate opens the document -> Candidate Declines -> Admin changes the document and send through send form -> Candidate accepts
          When document is opened/downloaded from Review/Sign or Completed Forms Library, data of that particular document will be downloaded.
           2. Document sent with Custom API's (api/candidate/custom/document/create and api/candidate/document/create) 
          When senddocument = 0,1,2 => DB data will be fetched when candidate opens the document
          When senddocument = 3 => Admin opens the link to make changes ->changes saved -> data is saved against that document -> candidate opens document -> recently saved data will be displayed.

          Files Affected :

          1. DMS\Databases Objects\04_Stored Procedures\DMS_SP_GetTemplateFormMappedDetails.sql
          2. DMS\DMS.App\src\DMS_AppLogic\BuisnessLogic\DocumentData.cs
          3. DMS\DMS.App\src\DMS_AppLogic\BuisnessLogic\PersonData.cs
          4. DMS\DMS.App\src\DMS_AppLogic\IntegrationLogic\GenerateDocument.cs
          5. DMS\DMS.Web\src\DMS_WebApp\ClientApp\src\app\admin\send-forms\forms-preview\forms-preview.component.ts
          6. DMS\DMS.Web\src\DMS_WebApp\ClientApp\src\app\candidate\document-review\document-review.component.ts
          7. DMS\DMS.Web\src\DMS_WebApp\ClientApp\src\app\Shared\Components\modals\modals.component.ts

           

          Show
          ramya.tantry Ramya Tantry (Inactive) added a comment - Implementation details : 1. Document when sent through Send forms from UI, all form data will be saved as JSON against that document. 2. When document is opened by candidate,data will be populated from saved JSON. On Submit or decline, form data (JSON) will be updated for that document. 3. Document when sent through Custom API's by Admin (senddocument as 0,1,2), form data is not saved in this case. When candidate opens the link, latest data from DB will get populated on PDF. Data will be saved once candidate clicks on Submit or decline. 4. Form data will be saved when document is saved by Admin when it is sent from Custom API with senddocument as 3 and same will be populated when candidates opens the document. 5. Signature will always be fetched from DB.  Basic Scenarios: 1. Send document from Send forms -> Candidate opens the document -> Candidate Declines -> Admin changes the document and send through send form -> Candidate accepts When document is opened/downloaded from Review/Sign or Completed Forms Library, data of that particular document will be downloaded.  2. Document sent with Custom API's (api/candidate/custom/document/create and api/candidate/document/create)  When senddocument = 0,1,2 => DB data will be fetched when candidate opens the document When senddocument = 3 => Admin opens the link to make changes ->changes saved -> data is saved against that document -> candidate opens document -> recently saved data will be displayed. Files Affected : DMS\Databases Objects\04_Stored Procedures\DMS_SP_GetTemplateFormMappedDetails.sql DMS\DMS.App\src\DMS_AppLogic\BuisnessLogic\DocumentData.cs DMS\DMS.App\src\DMS_AppLogic\BuisnessLogic\PersonData.cs DMS\DMS.App\src\DMS_AppLogic\IntegrationLogic\GenerateDocument.cs DMS\DMS.Web\src\DMS_WebApp\ClientApp\src\app\admin\send-forms\forms-preview\forms-preview.component.ts DMS\DMS.Web\src\DMS_WebApp\ClientApp\src\app\candidate\document-review\document-review.component.ts DMS\DMS.Web\src\DMS_WebApp\ClientApp\src\app\Shared\Components\modals\modals.component.ts  
          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment -

          Environment: production
          login: Admin and Candidate
          Browser: FF and Chrome

          Points covered:

          1. Able to send document to different candidate with different data
          2. Different candidate should reflect data as per added by Admin on Completed Sent Forms Library
          3. Data updated by Admin should be saved
          4. Checked Candidate 1 for its respective data
          5. Checked Candidate 2 for its respective data
          6. Two same document send to same candidate - latest saved
          7. Two different documents send to same candidate - latest saved
          8. Send documents 0, 1, 2 and 3 through API

          All scenarios worked as expected.

          So, marking jira done.

          Samir Rohan J Khandave Hrishikesh Deshpande Sachin Hingole Ramya Tantry

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - Environment: production login: Admin and Candidate Browser: FF and Chrome Points covered: 1. Able to send document to different candidate with different data 2. Different candidate should reflect data as per added by Admin on Completed Sent Forms Library 3. Data updated by Admin should be saved 4. Checked Candidate 1 for its respective data 5. Checked Candidate 2 for its respective data 6. Two same document send to same candidate - latest saved 7. Two different documents send to same candidate - latest saved 8. Send documents 0, 1, 2 and 3 through API All scenarios worked as expected. So, marking jira done. Samir Rohan J Khandave Hrishikesh Deshpande Sachin Hingole Ramya Tantry

            People

            Assignee:
            priya.dhamande Priya Dhamande (Inactive)
            Reporter:
            Ganesh.sadawarte Ganesh Sadawarte (Inactive)
            Developer:
            Ramya Tantry (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 30h Original Estimate - 30h
                30h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 35h
                35h