PROBLEM

The Text widget in ArcGIS Experience Builder does not display time with date for dynamic data

Last Published: November 8, 2022

Description

In ArcGIS Experience Builder, adding dynamic text to an app is possible using the Text widget. The data source for dynamic text is based on attributes or statistics from multiple feature layers. Sometimes, these feature layers contain date fields to represent the exact date and time of a record. However, although time is present in the field, it is not displayed with the date as shown in the image below.

Time is not displayed in the Text widget

Cause

The ‘Show time’ toggle button is disabled in ArcGIS Online Map Viewer.

Solution or Workaround

  1. In ArcGIS Online Map Viewer, open the feature layer containing the date field.
  2. Turn on the Show time toggle button. Refer to ArcGIS Online: Configure pop-ups (Map Viewer) for instructions.
  3. On the Contents (dark) toolbar, click Save and open and click Save to save the map.
  4. Open the ArcGIS Experience Builder project and navigate to the Insert widget panel.
  5. Under Page elements, drag and drop the Text widget to a desired position on the experience.
  6. In the Text widget’s configuration panel, under the Content tab, toggle on the Connect to data toggle button and click Select data.
  7. In the Select data pane, select the feature layer containing the date field. If needed, click Add new data to add the feature layer from ArcGIS Online.
  8. Click the Dynamic content The Dynamic content button button to display the Dynamic content panel.
The Dynamic content button in the Text widget's toolbar menu
  1. Under the Attribute tab, in the Data section, select Default in the second drop-down menu.
  2. Click the date field, and click anywhere on the experience outside the Text widget to display the date and time.
The Dynamic content pane

The image below shows both the date and time are displayed in the Text widget.

image.png

Article ID: 000028604

Software:
  • ArcGIS Online
  • ArcGIS Experience Builder

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options