Forum Discussion
Anonymous
6 years agoNot applicable
Can't get SelectionManager to work
I'm working on a custsom visual and trying to switch from using `applyJsonFilter` to using `SelectionManager` to enable highlighting other visuals. I can generate selectionIds, and they work for setting up properties in the format pane. When I call
this.selectionManager.select(selectionId).then(v => {
debugger;
});when the debugger pauses, `v` looks correct compared to the selectionId I passed in, but nothing is highlighted or filtered in the report. The `getKey` method on the selectionId looks something like this:
{"MVP Data.Guid":[{"identityIndex":4}],"MVP Data.Room::Program":[{"identityIndex":4}]}[]The column names are correct, but I'm not sure if something is missing? I'm also not sure where to go from here with debugging. Thanks for any suggestions!
No Replies