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.

Instant Web Publishing - Script Problems

Featured Replies

After completing a database in filemaker 8 I stumbled into the problem of almost all my scripts failing when used on the web (via IWP).

An example of which has been a script that date/time stamps a field so it can be used for notes. I'm also trying to create a script that opens a new window but again this wont work.

Any help would be greatly appreciated.

Cheers

elliot

Are all these steps IWP compatible?

Open up Script Maker and click the " Show script step compatibility " thing down the bottom somwhere, everything not IWP compatible will grey out.

  • Author

Yeah. An example of one is "Insert Current Date" from the script menu. This script appears to be compatible with the internet but when the script is run the date and time aren't entered into the field.

Any ideas???

Also when opening a new window using a script, the script maker window tells me it will create a new virtual window on the web. What does this mean?

Try,

Set Field[ YourField ; Get(CurrentDate) ]

Instead

  • Author

Yeah worked a treat. Nice simple way round. Still do you have any ideas on the new window in a web browser as i cant seem to get it to work. Is it even possible???

As for new window... you would think so, what browser are you using?

  • Author

Well pretty much all of them. I guess IE mostly but Safari and Mozila are used. Just don't understand why you wouldn't be able to, your ip address stays the same so the server shouldn't have a problem recognizing you. Any ideas?

  • 2 weeks later...

While the browser may support the opening of new windows/browser instances, FM/IWP does not support that function. You'll have to code a work-around, like a tabbed UI or incorporate your own "back" button...

But it's shown as IWP compatible...

I have had no problems using the New Window script step in IWP.

What happens if you have a script that only opens a new window? Does that work?

Is it possible that you have some other step that's interfering? Perhaps you invoke a sub-script that's not compatible? Perhaps you have field validation that is failing (I have had troubles with field validation hanging IWP, and have written Validation scripts that test and report [using a new window!] back as a workaround).

HTH,

David

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.