Text widget with dynamic data and date/time fields

437
3
Jump to solution
08-17-2021 02:11 PM
Labels (1)
AaronKoelker
Occasional Contributor III

Hello. I'm wondering if this is possible and I'm just not seeing it, or if this is a bug/missing feature:

I'm using a Text widget with a data connection to try and display values from a date field in a hosted feature table. It's a very basic hosted table with one just row and three fields/columns, containing information outputted from an ArcGIS Notebook. Two of those columns are date fields with both date and time.

I can get the date value to show up in the Text widget just fine by creating an expression from the 'Dynamic content' window, however I can't seem to get the time info to show up with it. I've tried connecting directly to the hosted feature table after adding the data to the Experience Builder project on its own, and I've also tried adding the hosted table to a web map first and then using the 'Configure Fields' options there to say that I want the time information to show for that field. However, the time info still won't appear within the Text widget when doing this.

Any ideas? I noticed that the screenshot from a user in this other post seems to be showing the behavior I'm looking for, so perhaps this is something to do with hosted tables specifically? As a workaround in the meantime, I'm using the table widget, but its a bit overkill for this specific case.

 

-Aaron
Tags (4)
0 Kudos
1 Solution

Accepted Solutions
ShengdiZhang
Esri Contributor

Hi @AaronKoelker 

I added the hosted feature table to a map and configured fields to enable the Show time option:

ShengdiZhang_0-1664156811022.png

And then the time info shows in my ExB app:

ShengdiZhang_1-1664156855793.png

Which version of ExB are you using and would you mind sharing your application and data with me so I can take a look? My username is she10946.

Thanks,

Shengdi

View solution in original post

3 Replies
AaronKoelker
Occasional Contributor III

...bump?

It's been over a year and I still have no idea how to do this, or whether it's even possible. Surely I can't be the only person to run into this!

-Aaron
0 Kudos
ShengdiZhang
Esri Contributor

Hi @AaronKoelker 

I added the hosted feature table to a map and configured fields to enable the Show time option:

ShengdiZhang_0-1664156811022.png

And then the time info shows in my ExB app:

ShengdiZhang_1-1664156855793.png

Which version of ExB are you using and would you mind sharing your application and data with me so I can take a look? My username is she10946.

Thanks,

Shengdi

AaronKoelker
Occasional Contributor III

Hi @ShengdiZhang

I appreciate you taking a look. It turns out I was being a dummy and was choosing the wrong source for my table within Experience Builder. While I had previously set up the Show Time option within the web map as you suggested, I was using the hosted table directly when setting up the 'Connect to Data' settings, rather than choosing the appropriate web map that had the field configurations. I probably wouldn't have ever noticed though if I hadn't been putting together screenshots to show the issue after your reply, so thanks for the help!

-Aaron
0 Kudos