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
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 🙂
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:
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.