Show features if username = feature attribute

592
2
05-04-2021 04:12 AM
HrEngen
New Contributor

Hi.

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

//Søren

0 Kudos
2 Replies
BrianBaldwin
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:

BrianBaldwin_0-1620135920675.png

 

-----------------------------------

Brian Baldwin, Esri Inc., Lead Solution Engineer
https://www.linkedin.com/in/baldwinbrian
0 Kudos
HrEngen
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