Select to view content in your preferred language

Show related data in pop-up AGOL

522
2
12-28-2023 08:00 AM
Labels (2)
AnaRei1
New Contributor

Hello.
I'm working with road transport data and I want to show the information in pop-ups. I have a shp of stops and a relational table of timetables, what I want is to be able to show for each stop the timetables grouped by available lines and by days (i.e. weekdays, weekends...), all this information is in the relational table.

Can anyone help me set it up?

Thank you in advance.

Tags (1)
0 Kudos
2 Replies
rwrenner_esri
Esri Contributor

When configuring your popup, you can add your related table attributes as follows - click +Add Content then Related Records and select your related table. 

rwrenner_0-1703790236358.png

While the above is the simplest method, it will require your users to click into the related records from the popup. To eliminate this step and pull the related attributes directly into the popup, you can use Arcade scripting by adding an Attribute Expression then create a FeatureSet containing the attributes and their groupings. The following blog walks through an example. 

https://community.esri.com/t5/arcgis-online-blog/show-related-data-or-tables-in-pop-ups-with-arcade/...

-Rylee

AnaRei1
New Contributor


The blog article mentions the Portal, is it possible to do it for AGOL?
If so, can you tell me how?

Thank you!



0 Kudos