# Connect sveltekit with uibuilder

**URL:** <https://discourse.nodered.org/t/connect-sveltekit-with-uibuilder/79661>\
**Category:** General\
**Tags:** uibuilder\
**Created:** [9 July 2023 09:58 UTC](https://discourse.nodered.org/t/connect-sveltekit-with-uibuilder/79661 "2023-07-09T09:58:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![oldchap83](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/oldchap83/32/94891_2.png) [@oldchap83](https://discourse.nodered.org/u/oldchap83)\
**Post date:** [9 July 2023 09:58 UTC](https://discourse.nodered.org/t/connect-sveltekit-with-uibuilder/79661/1 "2023-07-09T09:58:37Z")

</div>

Hello everybody  
I manage to send data from a sveltekit page to uibuilder which I retrieve on the same page to update variables.  
On the page where I send data it works well, on the other hand if I have other tabs of my browser open the data is not updated

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/e/8eadf42735555defbed3195c223261e16024b682.png)

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/e/be0369f22b67556ff380ea3df0ee4bae61c71726.png)

Thank you for your help and sorry for my poor English

---

<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:** [9 July 2023 14:15 UTC](https://discourse.nodered.org/t/connect-sveltekit-with-uibuilder/79661/2 "2023-07-09T14:15:14Z")

</div>

> [@oldchap83](#):
>
> On the page where I send data it works well, on the other hand if I have other tabs of my browser open the data is not updated

With little informaion provided, it is hard to know what you are trying to do. However, I _think_ you are trying to have multiple tabs open with the same page? If so, you need to remove the socket id from the output msg before sending to the input.

---

<div class="post-metadata">

**Author:** ![oldchap83](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/oldchap83/32/94891_2.png) [@oldchap83](https://discourse.nodered.org/u/oldchap83)\
**Post date:** [9 July 2023 15:09 UTC](https://discourse.nodered.org/t/connect-sveltekit-with-uibuilder/79661/3 "2023-07-09T15:09:23Z")

</div>

Thank you for spending some time with me.  
Really sorry for my lack of clarity, but that's exactly what I want to do.  
And your answer works very well !!!.  
A big thank you to you Julian and "bravo" for uibuilder.  
Philippe

---

<div class="post-metadata">

**Author:** ![oldchap83](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/oldchap83/32/94891_2.png) [@oldchap83](https://discourse.nodered.org/u/oldchap83)\
**Post date:** [9 July 2023 15:58 UTC](https://discourse.nodered.org/t/connect-sveltekit-with-uibuilder/79661/4 "2023-07-09T15:58:09Z")

</div>

I take advantage that it's my lucky day for another question 😀  
Is it possible to generate in the future the template for "svelte basic" with support typescript ?  
a big thank-you  
Philippe

---

<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:** [9 July 2023 19:22 UTC](https://discourse.nodered.org/t/connect-sveltekit-with-uibuilder/79661/5 "2023-07-09T19:22:43Z")

</div>

Most things are possible! 😁

If you can provide something reasonably suitable, I'd be happy to consider including a new template.

I don't use TypeScript though so I can't really help create it.

---

<div class="post-metadata">

**Author:** ![oldchap83](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/oldchap83/32/94891_2.png) [@oldchap83](https://discourse.nodered.org/u/oldchap83)\
**Post date:** [10 July 2023 05:09 UTC](https://discourse.nodered.org/t/connect-sveltekit-with-uibuilder/79661/6 "2023-07-10T05:09:15Z")

</div>

Hello, it would be with pleasure but I have not your competences. 😀  
I already have a lot of work to understand uibuilder.  
Nice day.

---

<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:** [8 September 2023 05:10 UTC](https://discourse.nodered.org/t/connect-sveltekit-with-uibuilder/79661/7 "2023-09-08T05:10:11Z")

</div>

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