...
Code Block |
---|
"MdmsCriteria": { "tenantId": "pb", "moduleDetails": [ { "moduleName": "common-masters", "masterDetails": [ { "name": "StaticData" } ] } ] } |
Primary Files:
https://github.com/egovernments/egov-mdms-data/blob/QA/data/pb/common-masters/StaticData.json ,
FAQs:
...
Add Link to FAQs and How it works for each module:
We can add FAQs and How it works link in the mdms for each service.
...
Navigation URL for FAQs: "/digit-ui/citizen/{module}-faq"
(Replace {module}
with moduleCode. For Ex: "/digit-ui/citizen/pt-faq"
)
Navigation URL for How it works : "/digit-ui/citizen/{module}-how-it-works"
(Replace {module}
with moduleCode. For Ex: "/digit-ui/citizen/pt-how-it-works"
)
Object reference:
{"id": 2331,
"name": "PT_FAQ_S",
"url": "digit-ui-card",
"displayName": "FAQs",
"orderNumber": 1,
"parentModule": "PT",
"enabled": true,
"navigationURL": "/digit-ui/citizen/pt-faq",
"leftIcon": "propertyIcon",
"sidebar": "digit-ui-links",
"sidebarURL": "/digit-ui/citizen/pt-home" }
FAQs:
...
Users can check for frequently asked / common questions in this page.
Primary Files:
We are using a common screen for all the modules FAQs. Based on the module code, the FAQs are rendered from MDMS.
Add new FAQs to the list:
We can add new FAQs to the list by adding a new object in the MDMS config for the respective service.
Object reference:
"TL" : {
"faqs": [{
"question": "TL_FAQ_QUES_ONE",
"answer": "TL_FAQ_ANS_ONE"}
]}
MDMS:
FAQs are added for each service from MDMS Config.
...
Users can check what they can do or how they can get the benefits of a particular service.
We are using a common screen for all the modules How it works section. Based on the module code, the Cards are rendered from MDMS.
Add new Card to the list:
We can add new Card to the list by adding a new object in the MDMS config for the respective service.
Primary Files:
On Language change, the link to the videos also changes.
Object reference:
{"moduleCode" : "PT",
"videosJson": [{
"headerLabel": "ADD_PROPERTY",
"description": "ADD_PROPERTY_VIDEO_DESC",
"en_IN": "http://media.w3.org/2010/05/sintel/trailer.mp4",
"hi_IN": "http://media.w3.org/2010/05/sintel/trailer.mp4"},
"pdfHeader": "CITIZEN_CHARTER_DOCUMENT",
"pdfDesc": "CITIZEN_CHARTER_DOC_DESC"}
MDMS:
How it works Properties and Videos link are added for each service from MDMS Config.
...
API Calls to get the dynamic data :
Service | Navigation Screen URL | API | Payload Params | |
---|---|---|---|---|
1 | PT |
|
|
|
2 | TL |
|
|
|
3 | WS |
|
|
|
4 | PGR |
|
|
|
5 | BPA |
|
|
|
6 | MCOLLECT |
|
|
|