WageSeeker

Wageseeker Tech Document

Overview

This module helps in creating an individual(Wage Seeker) , it is needed in Mukta to assign work, track attendance and process DBTs.

This module has 3 associated screens :

  1. Search

  2. View

  3. Modify

MDMS Configurations

S.No.

Data

MDMS Link

1

Relationship

2

GenderType

3

SocialCategory

4

WageSeekerSkills

5

TenantBoundary

Module enablement configuration

  1. Set module code as “Masters” in Module.js for Masters (Organization) Module. Refer CityModule.json

 {
            "module": "Masters",
            "code": "Masters",
            "active": true,
            "order": 6,
            "tenants": [
                {
                    "code": "pg.cityb"
                },
                {
                    "code": "pg.cityc"
                },
                {
                    "code": "pg.citya"
                }
            ]
     }
  1. Enable Module in App.js. Update the object ‘enabledModules’. Use the code “Masters”. This code should match with the code of the cityModule.json, mentioned above.

Role-action mapping

S.No

API

Action ID

Roles

1

/individual/v1/_search

71

MUKTA_ADMIN, ORG_ADMIN

2

/individual/v1/_update

72

MUKTA_ADMIN, ORG_ADMIN

3

/individual/v1/_delete

74

MUKTA_ADMIN, ORG_ADMIN

S.No

Screen

Navigation URL

LeftIcon Updates

Roles

1

Search Individual

/works-ui/employee/masters/search-wageseeker

dynamic:WageseekerIcon

MUKTA_ADMIN

Sample object for a sidebar action define in MDMS (containing navigationUrl)

{
      "id": 78,
      "name": "WAGESEEKER",
      "url": "url",
      "displayName": "Masters Search Wageseeker",
      "orderNumber": 10,
      "parentModule": "",
      "enabled": true,
      "serviceCode": "WageSeeker",
      "code": "null",
      "navigationURL": "/works-ui/employee/masters/search-wageseeker",
      "path": "8WageSeeker.Search",
      "leftIcon": "dynamic:WageseekerIcon"
    }

Screen configuration

S.No

Screen

Configuration

1

Create/Modify

2

Search

Localization Configuration and Modules

TenantID

Module

pg

rainmaker-masters

pg

rainmaker-common-masters

pg

rainmaker-common

pg.citya

rainmaker-pg.citya

Workflow Configuration

NA

Customization

  1. Modify Individual Screen

  • Please use the common Utility “PreProcessMDMSConfig”.

  • Pass the associated dependencies for the config.

  • The utility will return a config which will run through FormComposer.

  • Refer docs for Pre-Process config in Component comments.

  1. Search Individual Screen

  • Please use the common utility “preProcessMDMSConfigInboxSearch”.

  • Pass the associated dependencies for the config.

  • The utility will return a config which will run through RenderFormFields.

  • Refer docs for Pre-Process config in Component comments.

  • All the Inbox and Search Screens throughout the app are rendered using this component Inbox/Search Composer

  1. Validations added

  • All Form validations are being added in the Screen Configurations. Add the populators for respective validations and mention the JSON path for the Pre-Process to work.

  1. Delete API Usage

  • To update individual skills update Individual and delete individual APIs are being used

  • If skills already exist then those can be updated with update API, if any skills are to be removed then delete API is used, in this case whole skill object need to be send with ‘isDeleted’ flag equals to true.

Last updated

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