Hi ESRI Community!
I was wondering if anyone had any experience hiding sensitive data from a Survey123 in AGOL? We have a form that we'd like to build using Survey123 as we can auto populate some of the required fields using our GIS, but it would also collect some individual-sensitive information that we wouldn't want anyone in the organization to see unless they are an admin or a few specific individuals in our Billing department. Does anyone have any experience doing this before? Should we do this in AGOL or is there something else we should use? Any advice is appreciated.
Thank you!
You can use hosted feature layer views to do this. You'll want to do something like this:
Now you'll want to set up sharing like this:
Here is the Esri support article for this method describing the workflow: https://support.esri.com/en-us/knowledge-base/how-to-create-the-fieldworker-view-for-surveys-publish...
There are probably a handful of ways you could implement a solution for this, but I'll share what I think might be the easiest solution.
Create your Survey123 form and publish it like normal. Then, lock down the hosted feature service. Of course, you will still need to share the hosted feature service to those who need to submit surveys, but you can lock it down from the settings page to where users can only see the features they create (or none at all). See screenshot below.
After you do that, you can create a View Layer from your hosted feature service and specify the fields you want visible to your admins or anyone else that needs access. Upon creating the view, the default behavior is that editing is disabled and that all data is visible (meaning that people can see all the features, even if they didn't create them). But, you can enable editing if necessary.
Hi @emoreno
I echo @MobiusSnake's suggestion to use hosted feature layer views to find a solution. This is the practice as recommended in the blog article when creating public surveys which achieves the same outcome of "not wanting to share public data". The blog article can be found here:
High level steps: