Uibuilder: Getting Started Walkthrough

This seems to be a bug (happened a few times to me in 2.0.6). Will take a closer look the next time it occurs.

As for the walkthrough, thank you @TotallyInformation. We will try to use the uibuilder on our next project, which hopefully starts next week :upside_down_face:

1 Like

If you do get that again, could you click on the link and report the code lines it points to?

I think that it is reporting that it can't access the Node-RED settings (RED.settings. THe populateTemplateDropdown accesses RED.settings.uibuilderTemplates which is a property passed back from the .js file via the options to RED.nodes.registerType.

I can't see anything else that might go wrong in that function as it is mostly jQuery.


I've put in a test for the next release in the populateTemplateDropdown function so that it outputs a suitable error if the setttings aren't accessible.

Just a heads up for beginners following this guide to try and get started with uibuilder, when I made this change, it broke the page totally. I had to walk it back to get the vue template working again.

Are you using vNext or v4?

If using v4, you have to restart Node-RED to switch between src and dist. vNext (v5 as it will become) allows you to switch dynamically.

Either way though, you are responsible for putting something useful into the dist folder before use.

Please don't forget that the uibuilder documentation now includes a number of useful documents. Including the live version of the starter walkthrough.

The documentation is available online (as above) but also from within the Node-RED Editor by clicking on the "Tech Docs" button in any uibuilder node.

Want more? Let me know!

Want to correct something? Let me know. :wink:

4 Likes