Auto-install glue module that adds program context filtering to GIS reports. Extends GIS report models and wizard to filter geographic data by program enrollment, enabling program-specific spatial analysis and visualization.
- Filter GIS reports to show only registrants enrolled in a specific program
- Add program selector to report forms and wizard interface
- Validate program selection requirements before generating reports
- Include program identifier in generated report codes
- Grant GIS report access to program officers and managers
spp.gis.report— Addsprogram_idfield and filters domain by program membersspp.gis.report.wizard— Addsprogram_idselection with validation and code suffix
No configuration required. Auto-installs when both spp_gis_report
and spp_programs are present.
- Report Form: Program field appears in the "context_group" on GIS report forms (accessed via GIS Reports > Reports)
- Wizard: Program field appears in the "context_filters" group when generating reports from templates
spp_programs.group_programs_officer— Read GIS reports, data, templates, etc.spp_programs.group_programs_manager— Read/Write (no create/unlink) all modelsspp_gis_report.group_gis_report_user— Implied for program managers via XML
Models with access: spp.gis.report, spp.gis.report.data,
spp.gis.report.threshold, spp.gis.report.template,
spp.gis.report.category
- Override
_apply_context_filters()onspp.gis.reportto add custom program-based filtering - Override
_validate_context_requirements()onspp.gis.report.wizardfor additional validation - Override
_get_context_code_suffix()to customize report code generation with program identifiers - Override
_get_context_filter_vals()to modify report creation values
spp_gis_report, spp_programs
Table of contents
- Initial migration to OpenSPP2
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
- OpenSPP.org
- OpenSPP
Current maintainers:
This module is part of the OpenSPP/OpenSPP2 project on GitHub.
You are welcome to contribute.




