How to catch delete event on Editor widget.

182
2
Jump to solution
a month ago
AnastasiiaDzundza
New Contributor III

Hi, I need to catch a moment when user clicks on delete after selecting feature on the map among existing. And be able to know its globalid attribute value.

Does any one has an idea how to do that?

0 Kudos
1 Solution

Accepted Solutions
ReneRubalcava
Frequent Contributor

You would listen to the edits event of the Layer you are interested in. The Editor itself will not give you this information.

View solution in original post

2 Replies
ReneRubalcava
Frequent Contributor

You would listen to the edits event of the Layer you are interested in. The Editor itself will not give you this information.

AnastasiiaDzundza
New Contributor III

Thank you a lot, for answer.

In the event that comes on 'edits', there is array of features were deleted. But int's object there is only one attribute returned 'objectId'. Screenshot 2024-04-02 at 12.40.08.png

Is there any way to configure the layer to get at list global id in this event or maybe all of the attributes?

0 Kudos