Linking Data Table and Map for Dynamic Locations
Overview
This guide explains how to connect an Avonni Data Table and an Avonni Map component in your Experience Cloud site to create a dynamic, interactive display. By linking the two components, selecting an account in the Data Table updates the Map to show related locations, enhancing user engagement.
Benefits
Linking these components allows your site to respond to user selections in real time, providing a focused and intuitive way to explore account locations without manual refreshes.

Setting Up the Integration
Configuring the Data Table
Configuring the Avonni Map
Outcome
When a user selects an account in the Data Table, the Map automatically updates to show only the locations associated with that account. This creates a seamless, interactive experience, allowing visitors to explore data efficiently.
Troubleshooting Common Issues
Map Not Updating: Ensure the accountsDatatable API name matches exactly and that Max Row Selection is set to 1. Check the filter syntax ({{accountsDatatable.selectedRecord.Id}}).
No Locations Displayed: Verify the Account object or related object has latitude and longitude fields, and confirm the query returns data.
Performance Issues: Simplify the query or reduce the number of records if the Map loads slowly.
If Issues Persist: Contact our support team at [email protected] for assistance
Last updated
Was this helpful?