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.

[FP7} How can I tell who's accessing DB from IWP?

Featured Replies

  • Newbies

I'm just starting with Filemaker 7 IWP. I want to run a startup script which checks whether the user is coming from the web or the network and go to a specific layout. I thought there would be a Get field which would determine this, but i have been unable to figure it out.

Thought?

FileMaker Version: 7

Platform: Mac OS X Panther

I don't see anyway either. I think an option would be to create a separate IWP opener or interface database.

Heres a method I have used to log users in fmp 6 but is way easier in 7

Create a new table 'LogHistory' that will hold the logged-in user history

In the login (Startup) script check if it is a FMIWP client and if so create a new record in your LOGHistory Table with the TimeStamp and UserIP

If you want to get fancy then add a text tracing field that appends the layout/operation the user is doing based on what scripts they run. This way you will have a good idea of who, when what, where and they did.

Charles

PS for the fmp6 users, the way I did this was to auto create a new record in the startup script of my web interface file. I auto enter ip , date and time, then goto layout of my greeting/landing page.

  • Author
  • Newbies

Charles:

That sounds exactly what I'd like to do. But how do I "check if it is a FMIWP client" as you stated? That's the thing I can't figure out.

see the New business Tracker solution on filemakers site for an example, as I recall it checks to see if it is a local user or IWP user to show the web catalog.

(I dont have FMP on this machine right now so I cant tell you the exact calc's but basically you user some of the developer fuctions and check the privs' of the curent user)

Charles

Wahoo 100 posts.

"Yes, but charles is still pretty slow compared to some of the other kids"

One of the many changes. These will be documented in the forthcoming Migration Methodologies (mega) Tech Brief:

http://www.filemaker.com/upgrade/techbriefs.html

From that document:

Status(CurrentWebSharing) used to report whether or not Web sharing was enabled, regardless of whether any users were web based.

On conversion, this function is replaced with:

Position( Get( ApplicationVersion );

  • Author
  • Newbies

Thanks, that did the trick.

Very useful way to manage web-restricted scripts.

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.