I have a list widget of comms records.
I populate each of the cards in the lists dynamically.
The date is set up in US format. How do I change it to MM/DD/YYYY. I'm pretty sure this can be done in arcade.
I was able to get around this by fixing it outside of Experience Builder in my ArcGIS Online settings for our organisation as an administrator. This worked for New Zealand English. https://doc.arcgis.com/en/arcgis-online/administer/configure-general.htm#ORG_NUMBER_DATE
FYI - In Map Viewer Classic, most of the date formats (long, short, etc.) will be honored, except for one - DD/MM/YYYY - it contradicts the locale practice if in the US. Either one of MM/DD/YYYY and DD/MM/YYYY will be available depending on the user locale.
Hi, I tried changing the date format in Map viewer classic - configure popup - configure attributes, and the date format in the ExB map and text widgets change as well.
Are you using a table widget to display the data, it is a known bug that the table widget doesn't honor the date format configured in the map viewer.
Shengdi
Does this work when you use map viewer classic?
I tried with our 10.8.1 portal and I am using EXB dev 1.9 and it didn't make a difference.
Hi, there are no plans for when this feature will be implemented. However, if you want to use a different date format, you can update the format in the Map Viewer, and the Experience Builder will inherit this format.
Hi @ShengdiZhang , Just wanted to check in on this and see if this is being looked into in a future upgrade or if it has already, and I've missed it.
Experience Builder doesn't give you the same access to Arcade that you have in other apps. It will honor Arcade expressions in a Details widget, but not when piping attributes into a Text widget. Even looking at the config JSON of something like that, it's not clear how it's deciding the date format. Doesn't seem to be an exposed user setting, but it would be great if it were! You should suggest it as an idea.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.