Forum Discussion
Interactivity Service and Selection Manager in Custom Visuals
Hi Anonymous,
My understanding of these is that:
- The Selection Manager is used to generate Selection IDs.
- The Interactivity Service requires Selection IDs to correctly identify how to interact with data within/between visuals when highlighting and cross-filtering.
Selection IDs are also used by the report page (canvas) tooltips to correctly identify when to display those vs. a standard tooltip. There was a thread the other day that has an example to illustrate.
I haven't come across any specific examples online, except for these videos on Jorge's YouTube channel, which help illustate the in the context of the sample bar chart, which uses a categorical data mapping. These videos are a couple of years old but the premise still holds-up today.:
Selection ID support for matrix and table dataViewMappings is pretty new, and they aren't too well covered at present in terms of examples.
The Context Menu API is also a relatively new addition and the linked page/sample bar chart is the only example I've seen to date. I haven't personally had a chance to play with it but this is how you'd conceptually manage Drillthrough - I see the example does refer to a Selection ID.
If you're after drilldown vs. drillthrough, then there's a short intro here, but this only refers to enabling it in your visual. I've only done as much as this when setting up a visual and haven't looked into drill-down by clicking on a node for example.
I'm not sure if this resolves your question but I hope that it gives you some ideas, at least :)
Good luck!
Daniel