embedding-api-v3-guide icon indicating copy to clipboard operation
embedding-api-v3-guide copied to clipboard

What is the <tableau-viz> property for FirstInteractive?

Open kbrown-blend360 opened this issue 4 years ago • 3 comments

There is an example in the guide that shows we can add event listeners directly to the element via properties:

<tableau-viz id="tableauViz" 
      src="http://my-server/views/my-workbook/my-view"
      onMarksSelected="handleMarksSelection">
</tableau-viz>

Two questions:

  1. Is this functionality working? I see no where in the source code where "onMarksSelected" exists, so that's why I ask.
  2. What is (or will be) the equivalent of "FirstInteractive"?

kbrown-blend360 avatar Jan 27 '22 22:01 kbrown-blend360

Hi @kbrown-blend360

Thank you for opening this issue.

  1. This functionality is not working today but should be available in the upcoming releases (v3.2 or v3.3)
  2. Here an example for "FirstInteractive":

illonage avatar Jan 28 '22 18:01 illonage

Is there a way with the "embedding api v3" to include FirstInteractive functions after the viz is initialized? or do we have to wait until v3.2 or v3.3 comes out? We are looking to use connected apps but without this functionality we can't proceed.

jontom33 avatar Feb 21 '22 20:02 jontom33

Hi @jontom33 - You can add event listeners such as FirstInteractive after initialization in v3.0: https://help.tableau.com/current/api/embedding_api/en-us/docs/embedding_api_event.html

illonage avatar Mar 15 '22 05:03 illonage