spotfiresoftware / spotfire-wrapper

An Angular component packaged as custom elements that defined a new HTML element to display a Spotfire dashboard in a framework-agnostic way
BSD 3-Clause "New" or "Revised" License
9 stars 6 forks source link

Change to link the main doc to the right Spotfire API #159

Closed hpeters83 closed 2 years ago

hpeters83 commented 2 years ago

We detected an issue when using wrapper with multiple screens and the new version of Spotfire 12. This resulted in the wrong screen (div element) responding in an open page request. The reason for this is that the _doc element in the spotfire-webplayer class did not bind to the correct SpotfireAPI object.

I have added a test to check the id of the Spotfire API element before the binding, so the correct SpotfireAPI object binds to the _doc element, which makes the correct screen react again.

nicolasderoche commented 2 years ago

Thanks Hugo !