1 Reply Latest reply on Sep 29, 2015 2:21 PM by diego.medrano

    How can I capture Marks from Stories using the JS API?

    Jason Gill

      I'm able to add an event listener for MARKS_SELECTED and see the results for sheets of both Dashboard and Worksheet, however, I am unable to do the same with sheets.

       

      I perform the following:

      tableauViz.addEventListener($scope.tableauSoftware.TableauEventName.MARKS_SELECTION, (marksEvent: any) => {

      console.log("Selection changed");

      });

       

      This works great for a viz loaded with a Dashboard or a Worksheet, however, when I do the same for a Story, my callback method is never hit when I change marks.

       

      Anyone able to supply me with some help here?