Our project covers nutrition and vaccination. Two districts only do nutrition: their agents must not see the vaccination forms and missions.
With project components. A component is a theme: each form, question, mission, indicator or subject information carries a tag, vaccination for example.
Remove a component from the whole project
Edit the project, Project components card: uncheck the component, then Deploy. It disappears from phones, reports and dashboards. Its files stay in the project: check it again and redeploy to bring it back.
Hide it in some places only
In the same card, add a rule to the component. A rule can target:
- places or place levels (the two districts);
- subject types;
- roles;
- a period (between two dates).
The component stays deployed; phones hide it where a rule applies. For a case the rules do not cover, the project can provide a script that decides.