Select to view content in your preferred language

ArcGIS Field Maps- Arcade "DateOnly" function breaks entire Arcade expression in Field Maps popup

331
10
Jump to solution
2 weeks ago
Amanda__Huber
MVP Regular Contributor

Hello ArcGIS Field Maps Team, 

We recently observed an issue with the Arcade's "DateOnly" (https://developers.arcgis.com/arcade/guide/types/#dateonly ) function in your application.

When adding DateOnly to our Arcade expression the entrire expression does not display in Field Maps but does display in Map Viewer with no issues. Example below. 

Arcade Expression: 

Amanda__Huber_0-1726598948648.png

 

Map Viewer: 

Amanda__Huber_1-1726598971818.png

 

Field Maps: 

Amanda__Huber_2-1726599129831.png

 

 

When removing the DateOnly function, the Arcade expression works with no issues in Field Maps:

Amanda__Huber_4-1726599243015.png

 

 

Is this a known bug? 

 

Thanks,

Amanda Huber

 

10 Replies
ChristopherCounsell
MVP Regular Contributor

Thanks @ChrisDunn1 .

As an alternative, try using text function to format the date?

https://developers.arcgis.com/arcade/function-reference/text_functions/#text

0 Kudos