Arcade - How to use a date field with a dictionary ?

477
7
Jump to solution
08-02-2021 09:06 PM
Labels (1)
explocarto
New Contributor II

With the Arcade language, I try to feed a dictionary with several fields of which one field is of type date.
This dictionary is fed from a feature service.

Here is an example of my code:

explocarto_1-1627963200977.png

If I return the contents of my dictionary, I can see the date value.

explocarto_4-1627963474754.png

 

But if I try to flip it this way:

return FeatureSet(Text(table_Dict))
Date values not appearing !

explocarto_3-1627963382732.png

Can someone help me with this?

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
DavidPike
MVP Frequent Contributor
7 Replies
DavidPike
MVP Frequent Contributor
Peter_Klingman
Esri Regular Contributor

Thanks @DavidPike - I have seen this come up a lot recently with increased adoption of Data Expressions. I'm thinking I'll submit an issue to see if a date field can be included in the FeatureSet example in the Arcade documentation. 

DavidPike
MVP Frequent Contributor

I think that would be really helpful.

0 Kudos
MICHAELOBIDA
New Contributor

PLS I NEEED ENVI 5.6 SERVER LINK 

0 Kudos
explocarto
New Contributor II

Thank you both. :grinning_face:

Have a nice day

MICHAELOBIDA
New Contributor

Hello pls i need a line to download and  install this on my pc ARCGIS DESKTOP

0 Kudos
JayantaPoddar
MVP Esteemed Contributor

@MICHAELOBIDA : I would suggest you to write a new question, rather than commenting in replies to unrelated threads.

For instructions, please check How to ask a question - Esri Community 



Think Location