Hi ExBers,
It's been a while since I've been back using ExB, and I see there's a few improvements that have been made.
I have a date field in a hosted table that I have connected up to a text widget. The date is outputting as dd/m/yy so for 24 May 2026 it outputs as 24/5/26. I want it to output as dd/mm/yy though ie 24/05/26. This should be the case for any single digit month to have a 0 in front of it.
I thought it would be as simple as text($feature.fieldname,'dd/mm/yy'), but when I go into Arcade script there's a whole bunch of other stuff going on that I'm not familiar with. Is anyone able to provide some guidance? It doesn't seem to like $feature or $datasource.
This is the default Arcade script.
Hi @elpinguino ,
If the text widget is not in a list, it can only use the profile $dataSources, similar to $layer. However, if you select a text widget inside a list, you can use $feature.
Thanks,
Shengdi