tableau / embedding-api-v3-guide

migration guide for moving to embedding api v3
MIT License
27 stars 9 forks source link

Incorrect float parameter value #29

Closed florent-guinard closed 3 weeks ago

florent-guinard commented 2 years ago

I have an issue with the Embedding API retrieving the value of a float parameter in one of our Worksheets: image

This Worksheet is embedded with the Embedding API and we use the following code to logs its parameters: const sheet = viz.workbook.activeSheet; const parameters = await viz.workbook.getParametersAsync(); console.log(parameters);

The Embedding API returns an incorrect value for this parameter: image

The JavaScript API returns the expected value for the same Worksheet/parameter: image

illonage commented 2 years ago

Hi @florent-guinard - I am not able to reproduce it. Could you give me edit access to your workbook please?

florent-guinard commented 2 years ago

@illonage Sure: https://glitch.com/edit/#!/vanilla-pyrite-beret You should be able to open/edit the Viz (you're an Explorer on this Tableau preview site)

illonage commented 2 years ago

@florent-guinard I would need edit access to the workbook to check how you set up your parameter

florent-guinard commented 2 years ago

@illonage My bad, it should be ok now !