0

I am writing a JSON query into my layer definition of a web map on ArcGIS Online to only show features that were edited in the past 30 days using current timestamp. What I'm using now (seen below) is not working. No errors are given but it simply hides all features even if features were in fact edited within the 30 day range

"layerDefinition": {
    "definitionExpression": "last_edited_date BETWEEN CURRENT_TIMESTAMP - 30 AND CURRENT_TIMESTAMP"

  },

Any ideas how to correct this code?

  • 1
    what software are you using? – Ian Turton Aug 30 '17 at 15:17
  • This is a AGOL Web map, sorry I will update OP – NULL.Dude Aug 30 '17 at 15:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.