My gut instinct is to use Analytics SDK, but a cursory glance doesn't reveal it.
Is it possible for Analytics Dashboards to embed Lightning Components, iFrames, or Connected Apps, or conversely for Analytics Dashboards to communicate information about the user's interaction out to a Lightning Component?
The use case is:
I have a React App that I have embedded in a Lightning Container, but I want to be able to manipulate the React App based on the user's selection in an Analytics Dashboard.
I know it's possible to trigger elements within a dashboard to interact with one another, and when the dashboard is embedded on a page, filter the results based on the lightning page it's embedded in, but curious if there is an API to react (no pun intended) to user's interactions in the dashboard?
Functionally the Analytics SDK (Linked above) is nearly what I need, and I may be still discovering.
More specifically the SelectionChanged Event can capture information when the selection is "changed" from within an Analytics Dashboard. That being said after I have attached the event and set it to listen for this event being fired from a dashboard I created, it only seems to fire when I change dashboard lenses that contain different steps
Ideally, I would like to be able to manipulate the dashboard, have a "Table Mode" representation of the data, and when a row is selected in that table I can capture the data from that "table row":
Starting bounty for:
- Source Code or explanation/demonstration: capturing of Dashboard Lens Table Mode row-data after clicking in Analytics Web SDK SelectionChanged Event. This is Step 1/2 in Flow-chart.