description |
---|
Technical documentation |
There are 5 B&D Reports that exist viz. Birth Count Report, Birth Records Count Report By District, Birth and Death Certificate Payment Records, Death Count Report, Death Records Count Report by District.
To configure the B&D Report, follow the steps below:
- To add a new report first add the file path in the reportFileLocationsv1.
The B&D report location can be listed in the following link: configs/reportFileLocationsv1.txt at f80f822314ef951890b41c92ca9eab3ee41413b0 · egovernments/configs - Once the file path is added in the file reportFileLocationsv1, go to the folder /configs/reports/config [configs/reports/config at qa · egovernments/configs ] . birthcount-report.yml
Create a new file and name the file that you have given in the file reportFileLocationsv1. - Write the report configuration.
Refer configs/birthcount-reports.yml at qa · egovernments/configs for current configs.
[For further clarification on how to write the report configs, refer to Report Service ]
Once it is done commit those changes. - Add the role and actions for the new report as follows:
In action-test.json:
{
"id": 2277,
"name": "BirthRecordsCountReport",
"url": "/report/rainmaker-bnd/BirthRecordsCountReport/_get",
"displayName": "BirthRecordsCountReport",
"orderNumber": 1,
"parentModule": "",
"enabled": true,
"serviceCode": "report",
"code": "null",
"path": ""
},
{
"id": 2278,
"name": "BirthRecordsCountReport",
"url": "/report/rainmaker-bnd/BirthRecordsCountReport/metadata/_get",
"displayName": "BirthRecordsCountReport",
"orderNumber": 1,
"parentModule": "",
"enabled": true,
"serviceCode": "report",
"code": "null",
"path": ""
},
{
"id": 2279,
"name": "BirthRecordsCountReport",
"url": "url",
"displayName": "Birth Records Count",
"orderNumber": 9,
"parentModule": "rainmaker-bnd",
"enabled": true,
"serviceCode": "bnd",
"code": "null",
"path": "cbbnd.BirthRecordsCountReport",
"navigationURL": "report/rainmaker-bnd/BirthRecordsCountReport",
"leftIcon": "action:assignment",
"rightIcon": ""
},
{
"id": 2280,
"name": "DeathRecordsCountReport",
"url": "/report/rainmaker-bnd/DeathRecordsCountReport/_get",
"displayName": "DeathRecordsCountReport",
"orderNumber": 2,
"parentModule": "",
"enabled": true,
"serviceCode": "report",
"code": "null",
"path": ""
},
{
"id": 2281,
"name": "DeathRecordsCountReport",
"url": "/report/rainmaker-bnd/DeathRecordsCountReport/metadata/_get",
"displayName": "DeathRecordsCountReport",
"orderNumber": 2,
"parentModule": "",
"enabled": true,
"serviceCode": "report",
"code": "null",
"path": ""
},
{
"id": 2282,
"name": "DeathRecordsCountReport",
"url": "url",
"displayName": "Death Records Count",
"orderNumber": 9,
"parentModule": "rainmaker-bnd",
"enabled": true,
"serviceCode": "bnd",
"code": "null",
"path": "cbbnd.DeathRecordsCountReport",
"navigationURL": "report/rainmaker-bnd/DeathRecordsCountReport",
"leftIcon": "action:assignment",
"rightIcon": ""
},
{
"id": 2283,
"name": "BirthRecordsCountReportCBLevel",
"url": "/report/rainmaker-bnd/BirthRecordsCountReportCBLevel/_get",
"displayName": "BirthRecordsCountReportCBLevel",
"orderNumber": 1,
"parentModule": "",
"enabled": true,
"serviceCode": "report",
"code": "null",
"path": ""
},
{
"id": 2284,
"name": "BirthRecordsCountReportCBLevel",
"url": "/report/rainmaker-bnd/BirthRecordsCountReportCBLevel/metadata/_get",
"displayName": "BirthRecordsCountReportCBLevel",
"orderNumber": 1,
"parentModule": "",
"enabled": true,
"serviceCode": "report",
"code": "null",
"path": ""
},
{
"id": 2285,
"name": "BirthRecordsCountReportCBLevel",
"url": "url",
"displayName": "Birth Records Count CBLevel",
"orderNumber": 9,
"parentModule": "rainmaker-bnd",
"enabled": true,
"serviceCode": "bnd",
"code": "null",
"path": "cbbnd.BirthRecordsCountReportCBLevel",
"navigationURL": "report/rainmaker-bnd/BirthRecordsCountReportCBLevel",
"leftIcon": "action:assignment",
"rightIcon": ""
},
{
"id": 2286,
"name": "DeathRecordsCountReportCBLevel",
"url": "/report/rainmaker-bnd/DeathRecordsCountReportCBLevel/_get",
"displayName": "DeathRecordsCountReportCBLevel",
"orderNumber": 2,
"parentModule": "",
"enabled": true,
"serviceCode": "report",
"code": "null",
"path": ""
},
{
"id": 2287,
"name": "DeathRecordsCountReportCBLevel",
"url": "/report/rainmaker-bnd/DeathRecordsCountReportCBLevel/metadata/_get",
"displayName": "DeathRecordsCountReportCBLevel",
"orderNumber": 2,
"parentModule": "",
"enabled": true,
"serviceCode": "report",
"code": "null",
"path": ""
},
{
"id": 2288,
"name": "DeathRecordsCountReportCBLevel",
"url": "url",
"displayName": "Death Records Count CBLevel",
"orderNumber": 9,
"parentModule": "rainmaker-bnd",
"enabled": true,
"serviceCode": "bnd",
"code": "null",
"path": "cbbnd.DeathRecordsCountReportCBLevel",
"navigationURL": "report/rainmaker-bnd/DeathRecordsCountReportCBLevel",
"leftIcon": "action:assignment",
"rightIcon": ""
},
{
"id": 2289,
"name": "BirthAndDeathCertificatePayment",
"url": "/report/rainmaker-bnd/BirthAndDeathCertificatePayment/metadata/_get",
"displayName": "Birth-Death Payment Report",
"orderNumber": 3,
"parentModule": "",
"enabled": true,
"serviceCode": "report",
"code": "null",
"path": ""
},
{
"id": 2290,
"name": "BirthAndDeathCertificatePayment",
"url": "url",
"displayName": "BnD Paid and Downloaded Records",
"orderNumber": 9,
"parentModule": "rainmaker-bnd",
"enabled": true,
"serviceCode": "bnd",
"code": "null",
"path": "cbbnd.BirthAndDeathCertificatePayment",
"navigationURL": "report/rainmaker-bnd/BirthAndDeathCertificatePayment",
"leftIcon": "action:assignment",
"rightIcon": ""
},
In action-test.json:
{
"rolecode": "BIRTH_REPORT_VIEWER",
"actionid": 2277,
"actioncode": "",
"tenantId": "pb"
},
{
"rolecode": "BIRTH_REPORT_VIEWER",
"actionid": 2278,
"actioncode": "",
"tenantId": "pb"
},
{
"rolecode": "BIRTH_REPORT_VIEWER",
"actionid": 2283,
"actioncode": "",
"tenantId": "pb"
},
{
"rolecode": "BIRTH_REPORT_VIEWER",
"actionid": 2285,
"actioncode": "",
"tenantId": "pb"
},
{
"rolecode": "BIRTH_REPORT_VIEWER",
"actionid": 2284,
"actioncode": "",
"tenantId": "pb"
},
{
"rolecode": "BIRTH_REPORT_VIEWER",
"actionid": 2289,
"actioncode": "",
"tenantId": "pb"
},
{
"rolecode": "BIRTH_REPORT_VIEWER",
"actionid": 2325,
"actioncode": "",
"tenantId": "pb"
},
{
"rolecode": "DEATH_REPORT_VIEWER",
"actionid": 2280,
"actioncode": "",
"tenantId": "pb"
},
{
"rolecode": "DEATH_REPORT_VIEWER",
"actionid": 2281,
"actioncode": "",
"tenantId": "pb"
},
{
"rolecode": "DEATH_REPORT_VIEWER",
"actionid": 2286,
"actioncode": "",
"tenantId": "pb"
},
{
"rolecode": "DEATH_REPORT_VIEWER",
"actionid": 2287,
"actioncode": "",
"tenantId": "pb"
},
{
"rolecode": "DEATH_REPORT_VIEWER",
"actionid": 2289,
"actioncode": "",
"tenantId": "pb"
},
{
"rolecode": "DEATH_REPORT_VIEWER",
"actionid": 2290,
"actioncode": "",
"tenantId": "pb"
},
{
"rolecode": "DEATH_REPORT_VIEWER",
"actionid": 2325,
"actioncode": "",
"tenantId": "pb"
}
- Restart the MDMS and report service.
Above is the sample for Defaulter Report. In a similar way, other reports can also be configured.
Title | Link |
---|---|
reportFileLocationsv1 file | configs/reportFileLocationsv1.txt at UAT · egovernments/configs |
report config folder | configs/reports/config at UAT · egovernments/configs |
Report service | Report Service |