Editor widget question?

2230
3
07-18-2012 07:27 AM
ChadHinckley
New Contributor
Hi,

Is it possible to configure the editor widget so that the person editing can only see their edits?

Thanks,

typicalmuley
0 Kudos
3 Replies
DominiqueBroux
Esri Frequent Contributor
At the server side, when publishing the feature layer you can set the edit permissions in order to allow only the feature owner to modify or delete a feature.

Then at the client side, an user won't be able to modify or delete a feature he doesn't own.
But he will be able to see it.

The way not to see them might be to add to the feature layer a where clause based on the owner field.
0 Kudos
ChadHinckley
New Contributor
Hi dbroux,

Is their a query expression that can be used to query only the current editor? If so where do I need to put this in my application code?

Thanks,

typicalmuley
0 Kudos
DominiqueBroux
Esri Frequent Contributor
If your field containing the owner is called 'OWNER', you can set a where clause such as OWNER='dbroux'

That clause has to be generated dynamically by your application once you know the user name (I guess there is a login step).
0 Kudos