Hi Comunity mebers
I am trying to change an icon in the header to indicate Online/Offline, but the icon does not change when I go offline. It appears that the NetworkStatusChanged web block event is not being triggered.
Kind Regards,
Hello
I did have same problem where I was showing the offline and back to online message in that case these Forge are very helpful for me and works fine, It has events that you can use, you can give it a try hope this helps you
https://www.outsystems.com/forge/component-overview/4348/offlinedetectionwarning
https://www.outsystems.com/forge/component-overview/3303/offlinedetection
I hope this helps
Best RegardsTousif Khan
Hi @Tousif Khan
Thans. I'll try it.
Regards,
hii @Tom Zhao,
Firstly Create a simple test scenario where you explicitly trigger the NetworkStatusChanged event to see if it responds as expected. This can help identify if the issue is with the event itself or its integration with your icon-changing logic.
are you getting any error in console ??
also check that the browser you are using supports the navigator.onLine property, which is commonly used to detect online/offline status.
Some browsers might have limitations or behave differently in certain scenarios.
kind regards,
Sanjay Kushwah