Show features if username = feature attribute

05-04-2021 04:12 AM
Labels (3)
New Contributor


I have a feature layer with a username attribute and I would like for my map to only show the features where username fra freature layer is the same as the username used to login to the portal with.


Is this possible 


Fingers crossed


0 Kudos
2 Replies
Esri Regular Contributor

Just enable editor tracking on the feature layer - you don't need to create your own 'username' attribute - and then it will simply have this capability built in:



Brian Baldwin, Esri Inc., Senior Solution Engineer
0 Kudos
New Contributor

This would only work on the features the user has made, not the ones already in the feature layer.

The feature layer has an related tabel where users add data. In the main tabel an anministrator can add the workers name and then the worker can see in in the map.


Hope it makes sense :)

0 Kudos