I'm trying to add to my dashboard a list widget to show a list of recently updated records. I'm able to easily add fields by putting the field name between braces (ex {LastEditDate}), like in arcGIS Javascript API's PopupTemplate.

enter image description here

What I want to do now is to customize the date format. In this case only the time is relevant, but in other cases I might want only the date.

I tried to use a syntax similar to javascript API ({LastEditDate:DateFormat(selector: 'date', fullYear: true)}), without success.

Is there a way to customize a field's date format in the list widget?

  • Once they integrate Arcade compatibility this will be easy, as of now I do not think there is a way – NULL.Dude Jul 18 '18 at 14:57
  • 1
    I just tried to edit the back-end JSON of the dashboard as a test of one of mine, using the syntax in your answer. It didn't work, but maybe you could bang at it a little more than I did. Make a copy or use a test app, you have the potential to destroy your content. ago-assistant.esri.com – KHibma Jul 18 '18 at 15:13

The date format for any date field used in an Ops Dashboard widget is inherited from the pop-up config of that layer in the webmap.

enter image description here

  • Nice! Thank you for this. Would be nice if YYYYMMDD were an option. – Kegger Dec 17 '19 at 0:49

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.