-
Type:
Sub-task
-
Status: Done
-
Priority:
Medium
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Company:All Clients/Multiple Clients
CBES HTML forms implementation:
1. Add TemplatefileType column in database
2. Add metadata with localization in datbase
3. Expose metadata from API to angular
4. fetchTemplatefiletype value on Edit
5. Save Templatefiletype value in database.
6. Fetch key values on Preview forms
7. API changes on send forms
Field | Original Value | New Value |
---|---|---|
Assignee | Samir [ samir ] | Swapnil Pandhare [ swapnil.pandhare ] |
Status | To Do [ 10000 ] | In Progress [ 3 ] |
-
- Time Spent:
- 2h
-
Analysis
Discussion with Belal and Samir
Summary | Analysis of parsing HTML forms | CBES HTML forms implementation |
Description | Analysis |
CBES HTML forms implementation:
1. Add TemplatefileType column in database 2. Add metadata with localization in datbase 3. Expose metadata from API to angular 4. fetchTemplatefiletype value on Edit 5. Save Templatefiletype value in database. 6. Fetch key values on Preview forms |
Status | In Progress [ 3 ] | In Progress [ 3 ] |
Remaining Estimate | 0h [ 0 ] | |
Time Spent | 2h [ 7200 ] | |
Worklog Id | 163771 [ 163771 ] |
Description |
CBES HTML forms implementation:
1. Add TemplatefileType column in database 2. Add metadata with localization in datbase 3. Expose metadata from API to angular 4. fetchTemplatefiletype value on Edit 5. Save Templatefiletype value in database. 6. Fetch key values on Preview forms |
CBES HTML forms implementation:
1. Add TemplatefileType column in database 2. Add metadata with localization in datbase 3. Expose metadata from API to angular 4. fetchTemplatefiletype value on Edit 5. Save Templatefiletype value in database. 6. Fetch key values on Preview forms 7. API changes on send forms |
Time Spent | 2h [ 7200 ] | 4h [ 14400 ] |
Worklog Id | 163961 [ 163961 ] |
-
- Time Spent:
- 4h
-
Coding
Discussion
Resolution | Done [ 10000 ] | |
Status | In Progress [ 3 ] | Done [ 10001 ] |
Status | Done [ 10001 ] | Code Review [ 11801 ] |
-
- Time Spent:
- 3h
-
Code checkin
Discussion with Samir
Updating JIRA
Original Estimate | 10h [ 36000 ] |
Time Spent | 4h [ 14400 ] | 6h [ 21600 ] |
Worklog Id | 164464 [ 164464 ] |
Time Spent | 6h [ 21600 ] | 9h [ 32400 ] |
Worklog Id | 164465 [ 164465 ] |
Summary | CBES HTML forms implementation | CBES HTML forms preview tasks |
-
- Time Spent:
- 1h
-
Discussion with samir, belal
Updating files on dev server
Time Spent | 9h [ 32400 ] | 10h [ 36000 ] |
Worklog Id | 164653 [ 164653 ] |
-
- Time Spent:
- 2h
-
Discussion
Changes for fetching file type in send forms
Time Spent | 10h [ 36000 ] | 12h [ 43200 ] |
Worklog Id | 164844 [ 164844 ] |
Status | Code Review [ 11801 ] | In QA Testing [ 11901 ] |
Assignee | Swapnil Pandhare [ swapnil.pandhare ] | Priya Dhamande [ priya.dhamande ] |
Time Spent | 12h [ 43200 ] | 13h [ 46800 ] |
Worklog Id | 164464 [ 164464 ] |
Time Spent | 13h [ 46800 ] | 14h [ 50400 ] |
Worklog Id | 164465 [ 164465 ] |
Resolution | Done [ 10000 ] | |
Status | In QA Testing [ 11901 ] | In Progress [ 3 ] |
Assignee | Priya Dhamande [ priya.dhamande ] | Mohd Belal [ mohd.belal ] |
Status | In Progress [ 3 ] | To Do [ 10000 ] |
Status | To Do [ 10000 ] | In QA Testing [ 11901 ] |
Assignee | Mohd Belal [ mohd.belal ] | Jayshree Nagpure [ jayshree.nagpure ] |
Resolution | Done [ 10000 ] | |
Status | In QA Testing [ 11901 ] | Done [ 10001 ] |
Time Spent | 14h [ 50400 ] | 14.5h [ 52200 ] |
Worklog Id | 171981 [ 171981 ] |
Transition | Time In Source Status | Execution Times |
---|
|
23h 57m | 1 |
|
1d 23h 49m | 1 |
|
4d 1h 24m | 1 |
|
31s | 1 |
|
6d 23h 56m | 1 |
|
25d 6h 27m | 1 |
|
19h | 1 |
|
10m 22s | 1 |
|
3d 22h 45m | 1 |
Hi Mohd Belal,
Please find below changed API responses for HTML implementation :
{"first_name":"John","last_name":"Doetest"}1. Preview API resonse :
{"DocType":1,"fileName":"155124268543312_1551335964546.html","formDetails":
,"fileExtension":".html"}
2. Get meta data collection API :
{ "48": "PDF", "49": "HTML" }URL : /api/documenttemplate/GetMetaDataCollection
Response added in API : "templateFileTypes":
3. Get template details API
{id}URL : /api/documenttemplate/GetFormData/
New response :
{"3":"pagename","4":"submit","5":"reset","6":"subject","7":"subject","8":"maths","9":"physics","10":"fileupload","11":"ok","12":"imagebutton","13":"description","14":"dropdown"}{"Id":191,"TemplateName":"CBES HTML","Description":"CBES HTML","TemplateFileName":"155124268543312_1551335964546.html","Accessibility":0,"DocumentType":14,"DocumentPath":"OBFileServer\\OnBoard\\PDFServiceAssets\\TemplatesPdf\\1\\Document
","SourceProductId":17,"TemplateTypeId":27,"TemplateVersion":null,"TemplateDocumentSource":"21","TemplateStatusId":23,"TemplateStatus":null,"TemplateStartDate":null,"TemplateEndDate":null,"strPDFFiels":null,"strFieldMapping":null,"DateCreated":"2019-02-28T12:11:22","UploadDate":"2019-02-28T12:11:22","UploadedBy":"0","CompletedWithin":null,"PDFFormFields":
,"MappingFields":
{"1~first_name$^$11":"first_name-Person.Given Name","2~last_name$^$14":"last_name-Person.Family Name"},"OriginalFormFields":
{"1":"first_name","2":"last_name","3":"pagename","4":"submit","5":"reset","6":"subject","7":"subject","8":"maths","9":"physics","10":"fileupload","11":"ok","12":"imagebutton","13":"description","14":"dropdown"},"isDocInUse":false,"ESignedDocument":false,"IsArchived":0,"TemplateFileTypeId":49}
Also, you need to send "TemplateFileTypeId" field while saving documentTemplate.
Please let me know if you need more details .
Thanks,
Swapnil P.