How to Enable TQM UI

Enabling TQM module in DIGIT-UI

Overview

To access the TQM module in DIGIT-UI, enable it from MDMS and add TQM specific roles for the user to access TQM UI.

Enabling Module from MDMS

Add the following configuration in citymodule.json under this path in MDMS. The reference file is given below.

citymodule.json
{
        "module": "Tqm",
        "code": "Tqm",
        "active": true,
        "order": 14,
        "additionalComponent": "TqmAdminNotification",
        "tenants": [
            {
                "code": "pg.cityb"
            },
            {
                "code": "pg.cityc"
            },
            {
                "code": "pg.citya"
            }
        ]
      }

Enabling TQM Module from UI

Add TQM to these files in DIGIT-UI codebase. Add it in enabledModules Array.

Note: The name "TQM" should match the name "Tqm" added in mdms(citymodule). However, uppercase or lowercase does not matter.

  1. frontend\micro-ui\web\micro-ui-internals\example\src\index.js

  2. frontend\micro-ui\web\src\App.js

Files for reference:

index.js
App.js

Sample object:

const enabledModules = [
  "DSS",
  "HRMS",
  "Payment",
  "FSM",
  "Utilities",
  "Tqm", // Note -> here case is different than that of in mdms but it does not matter as long as name is same
  
]

Roles Required to Access TQM UI

  1. PQM_TP_OPERATOR -> This role is for Plant Operator user

  2. PQM_ADMIN -> This role is for ULB Admin user

Note: One user cannot have both these roles because flows and UI is different for these users. These roles are added in the mdms. The reference file is given below

  • Enhancements were made to the core module version to support some of the features in TQM UI such as help section and notification card in ULB admin's home page

  • The recommended core version for TQM UI is the following:

 "@egovernments/digit-ui-module-core": "1.8.0-beta.13"

Last updated

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.