Select to view content in your preferred language

Filter by Logged In User in ArcGIS Field Maps

2172
10
10-06-2022 03:53 PM
ChristopherCounsell
MVP Regular Contributor

It would be great if we can have features filtered by logged in user in ArcGIS Field Maps.

A field where username is populated by the Map/Layer author, and then filtered automatically by logged in user in ArcGIS Field Maps.

This would enable work to be 'assigned' to fieldworkers and prevent them from viewing all the work for all field staff.

This is NOT the same as editor tracking + editor settings as these only work if the logged in user creates the features (which is not the case as the map author account is creating them).

This is NOT the same as the layer filter widget being added to ArcGIS Field Maps as that is an optional client-side filter. In this case, we would want the default to be filtered, and not provide the option for them to view work not assigned to them.

Collector equivalent:

https://community.esri.com/t5/arcgis-collector-ideas/filter-by-user-in-collector/idi-p/940657

10 Comments
cbp-geus

This is a feature that is also a very high priority for us. We have had our field geologists out this year with a new field app made with ArcGIS Field Maps and they collected a total of 1045 localities, distributed among 20 users in the field.

So, it is a must that there is the option of being able to filter your own and other people's field data.

ChristopherCounsell
Thanks for the support.
There is a filter currently in Beta for fieldworkers to apply their own.
They can be preconfigured. But users have to apply it, and it makes it
difficult when multiple layers are at play, hence this more specific author
side configuration.
KwabenaDenteh1

How can we do the configuration 

 

Dmitry_Shatilov

A really needed function! To bad it is still not in Field Maps 😞

WilliamMorrow2_NSEGIS

This is a uch needed function.... Filter by CREATEUSER and UPDATEDUSER... Did this ever go anywhere or is there another work aound? Because if there is I haven't found it yet...

LAG155
by

I need this solution: a dynamic filter that shows data that matches the logged in user and a field where the assigned user is inserted.

SarahSaint-Ruth
Status changed to: Implemented

The ability to limit what features users see can now be achieved with the current_user SQL keyword in ArcGIS Online and ArcGIS Enterprise. What's great about applying this at the layer view level is that this will persist whether the user is accessing the layer through Field Maps or other ArcGIS clients. Here are the instructions for how to set this up: https://community.esri.com/t5/arcgis-online-documents/display-features-relevant-to-the-current-user/....

Also if you do have a requirement to create and assign Tasks to field teams we are introducing a new Task capability which will provide a digital to do list within Field Maps. This is currently available in a private tech preview. Please email arcgisfieldmaps@esri.com if you would like access.

ChristopherCounsell

@SarahSaint-Ruth does this sync offline if you change the username value?

E.g. user goes offline with features, the values are changed online. User syncs but the features remain on their device. 

You can set the sync rows outside filter but it'll still remain on the map, just updated.

I don't consider this implemented at all if it doesn't work with sync. I know it's technically a defect or a limit, but it's a core workflow.

SarahSaint-Ruth

@ChristopherCounsell

I would like to clarify the workflow to ensure I understand it correctly:

  1. User A has access to Features 1 and 2.
  2. User A syncs this data to work offline and makes changes to both features.
  3. Before User A syncs the data, the map author has restricted access, so User A should no longer have access to Feature 2.
  4. User A proceeds to sync the data.

You would like to understand: What happens to the changes that User A made to Feature 2 during the sync? Specifically, after the sync, will User A still be able to see Feature 2 along with their changes, despite the access restriction?

ChristopherCounsell

https://support.esri.com/en-us/bug/the-offline-map-in-the-arcgis-field-maps-mobile-app-doe-bug-00016...

User A is assigned work via username. Goes offline. They have dozens of features assigned and periodically sync. Or use a large offline area (constantly syncing one package)

Admin changes assigned work to User B.

When user A syncs, field maps won't sync the rows moved outside the filter. The job will remain on the map as assigned to user A even though it's changed.

If you update the service definition to sync rows outside filter the value will be updated (shows user B) but the filter does not come into effect. The feature will still be offline and it's difficult to symbolise accordingly.