Custom Visualization API V2 not working in Dashboard

I am using Custom Visualization V2 api to trigger a filter update from our custom visualization on user event(click and on change) on some element inside the visualization. The trigger method specified in the docs does not work. 

vis.trigger("filter", [{
field: "users.name", // the name of the field to filter
value: "%tommy%", // the "advanced syntax" for the filter
run: true, // whether to re-run the query with the new filter
}]);

But strangely the same code works when the same visualization is used in a look.

Can anyone help.

thanks

 https://github.com/looker/custom_visualizations_v2/blob/master/docs/api_reference.md

6 1 292
1 REPLY 1

I have the same problem

Top Labels in this Space
Top Solution Authors