Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Notification System = Force refresh on other access

Featured Replies

Hello there, I am trying to setup a notification system using slider controls that when I add a new record on my internal "notification/warnings" table it will show up on one specific user window, to show or not the slider I am using a field inside a portal, if it is set to yes it will show the notification slider, otherwise it will go to an empty slider, ok there.

 

When I change that field on my side, how do I force the window on that other side to refresh so it pops the notification "instantly" there saying that the new record is added? Is there a way to for user window refresh server side? Usualy it will only refresh when the user does something that asks for the records again, change layout etc, I tryed setting an ontimer script but that sometimes did get the other user while editing something or accessing something and interrupted his workflow.

 

Thanks!

I only two ways.

One is to user the InstallOnTimer script that runs, say every 20 seconds, to check for a status change. You're right though, that's pretty resource intensive though. And annoying to users. You can use script triggers to alleviate the annoyances (turning off the timer script when editing etc) but that's pretty development intensive.

Otherwise, I think you have to use a plugin like RemoteScripter.

  • Author

I only two ways.

One is to user the InstallOnTimer script that runs, say every 20 seconds, to check for a status change. You're right though, that's pretty resource intensive though. And annoying to users. You can use script triggers to alleviate the annoyances (turning off the timer script when editing etc) but that's pretty development intensive.

Otherwise, I think you have to use a plugin like RemoteScripter.

Yea using an ontimer is very invasive and make users mad most of the time I will take a look into that plugin thanks!

There was a technique that use deletion of record in a utility table to remote trigger an action on another computer - As deleting records is one of the only things that dynamically updates from another client. 

http://clickworks.be/en/trigger-script-another-client

​That is actualy a good Idea, will look if I am able to apply this to my system, thanks!

I am working with another developer and should have a way to use Growl notifications pushed from server. I'll post here when its ready in the next few weeks.

Being an separate system won't interfere any running operations.

  • Author

Even on windows could that be possible?

not unless you install growl...

  • Author

Yea thats the idea, never did it but I guess it is possible to install it on windows as well?

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.