Skip to content
Discussion options

You must be logged in to vote

Oops, I remembered why you can't do this the way you were hoping. It is because, while uibuilder does happily add the script tag and its content, that script is not executed because it was loaded after the page finished loading.

So there is no way to be able to do this currently using the zero-code uib-element node. However, this is Node-RED so there are always multiple ways to achieve things and you can still do it with minimal effort. 😊

The trick being to use a change node instead of a uib-element node. You will need to know how to load the script dynamically and this can be done using uibuilder's low-code features with the following JSON - just use the change node to set the contents of

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@vovadpua
Comment options

@TotallyInformation
Comment options

@TotallyInformation
Comment options

Answer selected by TotallyInformation
@TotallyInformation
Comment options

@vovadpua
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants