-
Type:
Sub-task
-
Status: Done
-
Priority:
Medium
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: Winter 2020 CBAT Integration
-
Labels:None
-
Company:All Clients/Multiple Clients
Overview:
We need to add mapping fields data in API response. Below is the analysis of current API implemented:
The system fields are accurate which can be used to identify the field and apply validation.
We can check the mapping of the form fields with the system fields from the mapping details and add validation accordingly.
Analysis of this case:
We are using following API to fetch the PDF details in Document Preview page.
https://dmsapistage.workterra.net/api/FormsLibrary/GetFormDetails/mohd.belal@careerbuilder.com/1443
Currently, this is not providing any data related to the Mapped fields which we have for this template. If we get the Mapped data in response we can use that to check the mapping and apply validation.
Same applied to Document Review Page where the API used is:
https://dmsapistage.workterra.net/api/Person/GetDetailsForEditPDF/61/1456/1/3509/3494/0
So, both these API need to be updated to return Mapped Field data for the template in its response.
FYI, the API which we are using in create template is returning the Mapped fields data:
https://dmsapistage.workterra.net/api/DocumentTemplate/GetFormData/1443
Field | Original Value | New Value |
---|---|---|
Description |
*Overview:*
We need to add mapping fields data in API response. Below is the analysis of current API implemented: The system fields are accurate which can be used to identify the field and apply validation. We can check the mapping of the *_form fields with the system fields_* from the mapping details and add validation accordingly. Analysis of this case: We are using following API to fetch the PDF details in Document Review page. [https://dmsapistage.workterra.net/api/FormsLibrary/GetFormDetails/mohd.belal@careerbuilder.com/1443] Currently, this is not providing any data related to the Mapped fields which we have for this template. If we get the Mapped data in response we can use that to check the mapping and apply validation. *FYI,* the API which we are using in create template is returning the Mapped fields data: [https://dmsapistage.workterra.net/api/DocumentTemplate/GetFormData/1443] |
*Overview:*
We need to add mapping fields data in API response. Below is the analysis of current API implemented: The system fields are accurate which can be used to identify the field and apply validation. We can check the mapping of the *_form fields with the system fields_* from the mapping details and add validation accordingly. *Analysis of this case:* We are using following API to fetch the PDF details in Document Preview page. https://dmsapistage.workterra.net/api/FormsLibrary/GetFormDetails/mohd.belal@careerbuilder.com/1443 Currently, this is not providing any data related to the Mapped fields which we have for this template. If we get the Mapped data in response we can use that to check the mapping and apply validation. Same applied to Document Review Page where the API used is: https://dmsapistage.workterra.net/api/Person/GetDetailsForEditPDF/61/1456/1/3509/3494/0 So, both these API need to be updated to return Mapped Field data for the template in its response. *FYI,* the API which we are using in create template is returning the Mapped fields data: [https://dmsapistage.workterra.net/api/DocumentTemplate/GetFormData/1443] |
Assignee | Samir [ samir ] | Harshveer Singh [ harshveer.singh ] |
Remaining Estimate | 8h [ 28800 ] | |
Original Estimate | 8h [ 28800 ] |
Fix Version/s | Winter 2020 CBAT Integration [ 11316 ] | |
Fix Version/s | Winter 2020 Enhancements [ 11314 ] |
Assignee | Harshveer Singh [ harshveer.singh ] | Nalin.Bhayana [ nalinb ] |
Status | To Do [ 10000 ] | In Progress [ 3 ] |
Remaining Estimate | 8h [ 28800 ] | 4h [ 14400 ] |
Time Spent | 4h [ 14400 ] | |
Worklog Id | 225239 [ 225239 ] |
Status | In Progress [ 3 ] | Code Review [ 11801 ] |
Status | Code Review [ 11801 ] | In QA Testing [ 11901 ] |
Assignee | Nalin.Bhayana [ nalinb ] | Prateek [ prateeks ] |
Resolution | Done [ 10000 ] | |
Status | In QA Testing [ 11901 ] | Done [ 10001 ] |
Assignee | Prateek [ prateeks ] | Nalin.Bhayana [ nalinb ] |
Transition | Time In Source Status | Execution Times |
---|
|
71d 26m | 1 |
|
5h 15m | 1 |
|
6d 23h 16m | 1 |
|
19h 12m | 1 |
https://github.com/cbdr/DMS/pull/990