92
Views
8
Comments
Solved
multiple users working on a screen parallelly
Application Type
Traditional Web

Hello guys,

                    I'm working on a screen which has discussion feature where multiple users will be able to chat at the same time like the comments section. I have used the comment  comments component and modified according to my requirement. So right now when user 1 enters a message then it is not reflecting for user2. In order to see the message user2 must refresh the screen. This is the problem I'm facing I want the message to reflect without refreshing the screen again and again. Please help!!


Regards,

Vaishnavi

2026-03-09 12-26-51
Fábio Fantato
 
MVP
Solution

Hi Vaishnavi,

You need to refresh your screen to load the new content as Mahesh and Win said.  Only do the ajax refresh will only refresh the screen for the current user. The other screen will not be updated.  There are 2 options to do that:

The easiest way is using a javascript to trigger a action that will perform the refresh. You can use this component to make your job easier: https://www.outsystems.com/forge/component-overview/2134/auto-refresh-utils . The only issue in this case is the refresh will happens often even if you didn´'t add new comments. 


The other way it is using Firebase: https://www.outsystems.com/forge/component-overview/2121/firebase-web. In this case, you will trigger the refresh only when you really add a new content.  It is a better implementation but you need to configure the Firebase to do it.  


Best regards

Fabio



 

UserImage.jpg
Vaishnavi Choppalli

Hi Fabio,

                 The auto refresh component is working but as you said it is refreshing every time. To use the firebase component there is no exact documentation, I registered in the firebase console by giving my app name but in outsystems I'm not understanding on how to use that component and what details need to be given as inputs. Could you please help me?


Regards,

Vaishnavi

2026-03-09 12-26-51
Fábio Fantato
 
MVP

I notice now that documentation is missing. It was a long time since I'd configured it for the last time. But the ideia is very similar to the InAppNotifications, they use almost the same mechanism from Firebase. The only difference is the final part where you should user the proper action. Maybe these 2 links can help you with the Google side.

https://success.outsystems.com/Documentation/SILK_UI_Framework/In-App_Notifications_Web_Component

https://www.youtube.com/watch?v=ygbu3AITS4k&list=PL999SN5SW1hqRlGx_VrSYdxehn1-fB4pu&index=126


Regards

Fabio

UserImage.jpg
Vaishnavi Choppalli

Hi Fabio,

               Could you please tell me in the below image for firebase event what values should be given to each one of the attribute?

2026-04-01 11-40-30
Mahesh Manchala

Hi,

did you try Ajax Refresh option?

UserImage.jpg
Vaishnavi Choppalli

Hi Mahesh,

 Yes I have tried but no luck.

Regards,

Vaishnavi

2025-10-14 07-47-46
Win Signo

On Traditional Web you need to create a javascript that will call an action that will refresh the data and do an ajax refresh.

UserImage.jpg
Vaishnavi Choppalli

Hi ,

Could you please elaborate a little on what to be written in javascript. Would be of a grwat help!

Regards,

Vaishnavi

2026-03-09 12-26-51
Fábio Fantato
 
MVP
Solution

Hi Vaishnavi,

You need to refresh your screen to load the new content as Mahesh and Win said.  Only do the ajax refresh will only refresh the screen for the current user. The other screen will not be updated.  There are 2 options to do that:

The easiest way is using a javascript to trigger a action that will perform the refresh. You can use this component to make your job easier: https://www.outsystems.com/forge/component-overview/2134/auto-refresh-utils . The only issue in this case is the refresh will happens often even if you didn´'t add new comments. 


The other way it is using Firebase: https://www.outsystems.com/forge/component-overview/2121/firebase-web. In this case, you will trigger the refresh only when you really add a new content.  It is a better implementation but you need to configure the Firebase to do it.  


Best regards

Fabio



 

UserImage.jpg
Vaishnavi Choppalli

Hi Fabio,

                 The auto refresh component is working but as you said it is refreshing every time. To use the firebase component there is no exact documentation, I registered in the firebase console by giving my app name but in outsystems I'm not understanding on how to use that component and what details need to be given as inputs. Could you please help me?


Regards,

Vaishnavi

2026-03-09 12-26-51
Fábio Fantato
 
MVP

I notice now that documentation is missing. It was a long time since I'd configured it for the last time. But the ideia is very similar to the InAppNotifications, they use almost the same mechanism from Firebase. The only difference is the final part where you should user the proper action. Maybe these 2 links can help you with the Google side.

https://success.outsystems.com/Documentation/SILK_UI_Framework/In-App_Notifications_Web_Component

https://www.youtube.com/watch?v=ygbu3AITS4k&list=PL999SN5SW1hqRlGx_VrSYdxehn1-fB4pu&index=126


Regards

Fabio

UserImage.jpg
Vaishnavi Choppalli

Hi Fabio,

               Could you please tell me in the below image for firebase event what values should be given to each one of the attribute?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.