I'm trying to work with the component embed for the component, but when the component first loads, i get the error:
A src needs to be set on the tableau-viz element. Skipping rendering.
But once the source is set, it never tries to re-render the element, if there a function I can call to rerender the element once the src has changed on the page?
#Tableau APIs & Embedding
Hi, It seems you are trying to render the tableau-viz component without a src, and then you are trying to change the src.
What if you try to give first a src, that will render the iframe child object, and all the related code, and then you change the src.
If you are able to share your full code, we may have a better way to assist you.
If this post resolves the question, would you be so kind to "Accept this Answer"?. This will help other users find the same answer/resolution and help community keep track of answered questions. Thank you.
Regards,
Diego Martinez
Tableau Visionary and Tableau Ambassador