This article is part 5 of a series on case management. See the bottom of this article for the other parts in this series.
If you have multiple projects on the same server, it can be a lot easier to have multiple case management server datasets. That way, multiple data collection projects can be organized using the case management workflow, each with their own independent list of cases.
|You can improve project security by separating projects using teams, so server console users can only view and change their own project's forms and list of cases. To learn more, check out our documentation on managing teams, as well as our FAQ on teams.|
This works by assigning a different cases server dataset to a customized user role. That way, all users who are assigned that user role will use that cases dataset instead. Keep in mind a user role can only be assigned a single cases dataset, so once they are assigned a different cases dataset, they cannot use the default "cases" dataset ID for their case management (of course, it can always be changed back later).
Multiple user roles can be assigned the same dataset for case management. However, only customized user roles can be assigned an alternate cases dataset (that is, the user roles that are not provided by default, i.e. the blue user roles, not the green ones).
To set up (or assign to a user role) an alternate cases dataset, follow these steps:
- Add a new cases server dataset with a different dataset ID. Like all cases datasets, make sure it has the 'id', 'label', 'formids', 'users', and 'roles' columns.
- On your server console, go to the Configure tab.
- Under User roles and permissions, either create a new user role, or edit an existing user role by clicking the triangle to the right and clicking the Edit button that appears.
- Under Please provide the dataset ID for case management (optional), enter the dataset ID of the new cases dataset.
- Scroll down and click the Update role button.
With the above steps complete, when collecting data, any users assigned to the user role you've prepared will use the non-default cases dataset you specified for managing cases.
|Users assigned to the user role "example_team_COLLECTOR" will not be able to view cases in the server dataset "cases". Instead, they will see cases in the server dataset "cases_example_team".|
|If you prefer to have a single cases server dataset (such as if you prefer a single, central location with all case data), but you would like only certain enumerators to be able view certain cases, be sure to take advantage of the users and roles columns to hide those cases.|
More on case management
Be sure to check out the other articles in this series on case management.
- Introduction: Why it is a good idea to use case management, and examples of where it can be used.
- Creating and managing cases: How to create a server dataset that can be used for cases, and how to add and edit your cases.
- Collecting data using case management: How to fill out cases forms on both a mobile device and in web forms, and creating automated workflows with case management
- Case management workflows: How to identify form instances as being part of a case, and how to publish to and pull data from the cases server dataset.
- Multiple cases datasets (this article): How to assign different server datasets to different user roles for case management.
- Tips, tricks, and troubleshooting: Additional tips about what can be done with case management, as well as how to troubleshoot when something is not working.
- Example - Publishing to a case, and retrieving from that case: Walking you through a case management example, including pulling from and publishing to a cases server dataset.
Do you have thoughts on this support article? We'd love to hear them! Feel free to fill out this feedback form.