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.

Providing online data services with Fmpro

Featured Replies

I'm developing a web based solution that requires to publish data at certain intervals from my filemaker database. I with the refresh tag but the hole page contains 6 databases related to a master database that display the hole information. It looks as a portal with news, quotes, reports, and a ticker that display some online quotes. My problem is that I want to display this online quotes in real time, avoiding the user to refresh the hole page . One solution is to make a frame for the ticker, but if I have more than 100 users for example online that means for this purpose they will perform 100 request per minute and as all of you know Filemaker isn't multithreaded. So the application will be busy and other users won't be able to perform other actions. I want to know if there is a inline action or a javascript that can retrieve this information from my database from the client side avoiding to refresh the hole page.

I hope some of you understood my problem

Regards,

Listas

I'd just meta-refresh every 5 or 10 minutes.

  • Author

HI

I'm trying to avoid the use of the refresh meta tag because it will refresh the hole page and also all databases that are related to my master database. Thinking abou my problem, I requiere a javascript that retrieves the information on certain interval, and refresh only the information that I need to display online.

Regards

Forgive me if I misunderstand, but how does one refresh just "part" of a web page?

As I understand it, you can do that kind of thing in Java or Javascript, but beyond that I do not know. Either way, that solution is not an FM issue.

Graeme

RE: 100 request per minute...

FileMaker will handle that probably. But that is very vague 100 requests per minute. Is that based on 100 visitors doing refresh? Then it is not 100 requests, because it will spread across the refresh time.

I will also a bit oppose Vaughan smile.gif" border="0

With iFrame (does will not work in NN4.x) you can do it. The code is simplest thing in HTML see http://www.didi.cz/test/iframe1.html

The main page is refreshing in 1 minute; the iFrame(d) page is refreshing in 10 seconds.

So you will put all your static data in page and in iFrame you will put all your FM data which needs to be refreshed.

  • Author

Hi

Thanks a lot about your idea of using iframe, I didn't know tht they were able to use within filemaker. This will prevent the use of refreshing a hole page with the other data.

do you know where can I find information about the parameters of iframe?

Thanks

camcorp

Have look into source of top page and search W3org smile.gif" border="0

Wow. I understand.

The NN4.x incompatibility is easy to work around: create two pages, one with iframes and one without, then use an [if] statement to check browser versions and deliver the appropriate page.

Sure,

You can do it in JS or this will work as well:

code:


[FMP-If: ClientType .cn. MSIE] iFrame stuff [FMP-ElseIf] non iFrame [/FMP-if]


That will take care about IE and NN. You should also separate NN4 and NN6.

Vaughan -- again simple and effective smile.gif" border="0

[ October 18, 2001: Message edited by: Anatoli ]

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.