# Advise on opening webpage using uibuider

**URL:** <https://discourse.nodered.org/t/advise-on-opening-webpage-using-uibuider/65709>\
**Category:** General\
**Tags:** uibuilder\
**Created:** [27 July 2022 15:47 UTC](https://discourse.nodered.org/t/advise-on-opening-webpage-using-uibuider/65709 "2022-07-27T15:47:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![magicman](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@magicman](https://discourse.nodered.org/u/magicman)\
**Post date:** [27 July 2022 15:47 UTC](https://discourse.nodered.org/t/advise-on-opening-webpage-using-uibuider/65709/1 "2022-07-27T15:47:19Z")

</div>

I use the line below to open a uibuilder instance controlcenter from within another instance

if (msg.topic == "control") {window.location.replace("[http://192.168.0.103:1880/controlcenter","\_self](http://192.168.0.103:1880/controlcenter%22,%22_self)") }

the instance opens the uibuider instance controlcenter but the status of the uibuilder controlcenter says intialised and not connected 1 like normally?

is this the wrong command to do this or is it something else?

has me stumped 🙂

look forward to some help please?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [27 July 2022 19:08 UTC](https://discourse.nodered.org/t/advise-on-opening-webpage-using-uibuider/65709/2 "2022-07-27T19:08:55Z")

</div>

Not something I've tried or tested.

I suspect (but I'm not certain) that it may be related to using the replace function - do you really want that? It means that your browser navigation history isn't updated. Normally you would do `window.location.href = '....'`.

You may need to turn up logging to find out what is actually happening but it looks like the `uibuilder.start` function isn't being executed.

---

<div class="post-metadata">

**Author:** ![magicman](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@magicman](https://discourse.nodered.org/u/magicman)\
**Post date:** [27 July 2022 19:23 UTC](https://discourse.nodered.org/t/advise-on-opening-webpage-using-uibuider/65709/3 "2022-07-27T19:23:50Z")

</div>

ok thanks for that information i will try logging, what is the best way to start logging?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [28 July 2022 00:42 UTC](https://discourse.nodered.org/t/advise-on-opening-webpage-using-uibuider/65709/4 "2022-07-28T00:42:03Z")

</div>

Assuming you are using the new client, you can set the logging level for the front-end, check the tech docs for the new client, it tells you how to change the level.

For the back-end, uibuilder has loads of trace level outputs and you can just change the node-red output log level. I use a custom logging function in my test system, you can set that up in settings.js it can allow you to only look at the trace levels for specific nodes.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [26 September 2022 00:43 UTC](https://discourse.nodered.org/t/advise-on-opening-webpage-using-uibuider/65709/5 "2022-09-26T00:43:03Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
