Boundary Details - Selection
In this step, the user will encounter 2 screens:
Boundary Details
Boundary Details Summary
Boundary Details
This screen allows users to select the boundaries according to their requirements.

The working of this screen is given below.
The system fetches the boundary data according to the hierarchy saved in the MDMS.
The file where data is fetched - https://github.com/egovernments/DIGIT-Frontend/blob/console/health/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/Module.js
The hierarchy structure and the lowest boundary will be fetched from the MDMS
HCM-ADMIN-CONSOLE.HierarchySchema
For more information on the master data, refer here.
Which internally calls the - Selecting boundary component
Validation: The user must select boundaries down to the lowest level. If the parent boundary is selected, then the user should select at least one of the child options.
Summary

This screen displays all the boundaries selected in the previous step.
Localisation Details
Boundary localisation for this screen happens by using the combination of hierarchy type and boundary type
{t((hierarchyType + "_" +boundaryType).toUpperCase())}
It should be in the above-given format.
API Details
boundary-service/boundary-relationships/_search
CAMPAIGN_MANAGER
/boundary-service/boundary-hierarchy-definition/_search
CAMPAIGN_MANAGER
Last updated
Was this helpful?