AGO - WebApp - Date dependent action - Dynamic Layer

1898
1
01-26-2016 02:45 AM
ThomasSteudel1
Occasional Contributor

Hello Community,

we want to publish some events within a webmap. Therefore my question: Is it possible to create a map, where a feature will dissappear from the map (automatically) after a specific day passed?

For instance:

There will be a market on the 12th of March 2016 . The market is represented by a feature in the map,

On 13th of march the feature will be dissappeared within the map. I tried using the time slider, but i want, that the point will dissapear automatically after the day passed.

Is there a way to solve this task?

Mayne thanks and regards,

Thomas

0 Kudos
1 Reply
BillDaigle
Occasional Contributor III

If you're using the time slider, then the date must be a field in the service layer.  You could add a definition query to the service layer and include or exclude it by comparing it to the current date.

0 Kudos