feature layer on update event listener

889
3
Jump to solution
09-29-2016 02:06 AM
nita14
by
Regular Contributor

Hi,

Is there any method to set update event listener on feature layer? I want it to be called on every feature layer update (adding, deleting features). I do not see any valid function in the documentation.

Any help is much appreciated,

Adam

0 Kudos
1 Solution

Accepted Solutions
AlexanderNohe1
Regular Contributor II

I do not believe that exists within our API.  What will happen, is when you pan the map, new features should be displayed since new queries should be run on every map pan.  Therefore, you do not need to refresh when new data is added from online if you are panning the map. 

View solution in original post

3 Replies
AlexanderNohe1
Regular Contributor II

I do not believe that exists within our API.  What will happen, is when you pan the map, new features should be displayed since new queries should be run on every map pan.  Therefore, you do not need to refresh when new data is added from online if you are panning the map. 

View solution in original post

nita14
by
Regular Contributor

I would like to trigger any business logic based on feature service attribute value change or adding a new feature. This capability might be useful for developers. So, I need to create my own "listener".

Regards,

Adam

0 Kudos
AlexanderNohe1
Regular Contributor II

Hello nita14

I suggest that you contact your local esri distributor to log an enhancement request in addition to logging an enhancement request through the ideas website.

Thanks,

Alexander

0 Kudos