Select to view content in your preferred language

Hide time in Table widget

4858
27
Jump to solution
02-16-2022 09:47 AM
Labels (1)
AmyRoust
Regular Contributor

I'm using the Table widget in Experience Builder (the online version, not developer edition). My date fields are displaying the time, and I'm wondering if there is a way to hide that? Time is irrelevant for this dataset - they just need to track the date.

screenshot.PNG

Tags (3)
27 Replies
TonghuiMing
Esri Regular Contributor

@BrittanyBurson - The timeline does not have anything to do with popup settings, it is specifically related to temporal settings inside your Map Viewer - two different things.

However, the behavior you mentioned is somehow valid and we will take a look to evaluate if there is any room for enhancement. In the meantime, I suggest you go with Esri Support or create another separate post for the sake of tracking. Thanks.

JulioGarrido
New Contributor III

OK...  Here we are almost two years after this discussion started and ESRI has not resolved what seems to be a simple issue.  The simple solutions are to either honor the map layers settings or have a checkbox/slider disabling the time from showing.  Not only is it affecting the tables, but also the edit function.  So frustrating sometimes.

 

Tiff
by
Occasional Contributor III

Hi @JulioGarrido, I agree. I have many layers with date fields that only need the date in the table and the time cannot be removed. Esri released new ArcGIS Online date types for Date, Time only, etc. but it is so new (AND requires you to create totally new fields) that I would rather have a solution in Experience Builder and Instant Apps to honor map layer settings.

Sidenote, you may be able to bypass the editor issue by configuring the Smart Forms in Map Viewer for date only. However, that only works for editing and does not resolve the Table issue.

JulioGarrido
New Contributor III

Hi Tiff,

I created the form using Field Maps and disabled the time.  However, ExB still shows the time in the editor as well.

Earlier today, I talked with ESRI Support and they see it is an issue.  Especially after they saw the date/time in the form and the map were both set to DATE.  Hopefully, they can find something, or report it as a bug so it can be fixed. 

0 Kudos
Tiff
by
Occasional Contributor III

Great, thanks for the update @JulioGarrido. I am not currently able to submit anything to esri support so appreciate that you did. Hopefully that can be resolved soon to only include dates in the table.

0 Kudos
Adam_Bourque
Occasional Contributor

@JulioGarrido yeah unfortunately still the same.. unfortunate because it messes up exports to excel as well retaining the time. Surprised this has gone so long without a fix..

AmyRoust
Regular Contributor

Adding on something new that I learned today. I thought for sure that I could create a hosted feature service on ArcGIS Online that included the new "date only" field, which would eliminate the time factor from the problem. Sadly, Experience Builder does not recognize date only fields at this time. So, the waiting continues...

0 Kudos
Tiff
by
Occasional Contributor III

Hey @AmyRoust, I went through the same motions as you. With anything new that is released by Esri, I always err on the side of caution. I have a feature layer with nearly a dozen date fields that I was excited to try it for.

I decided to try it for another layer that only had one date field and immediately realized it wouldn't work. Not only that, adding the date only field seemed to alter my projection for some reason, which then caused another issue in the AGOL environment (can't remember what exactly, but it was a whole ton of hoops to jump through just to try one change). Hopefully it was an easier time for you!

0 Kudos