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.

Transferring data from IWP to a web page form

Featured Replies

My online database works swimmingly using IWP (well...sort-of), but I would like to take one piece of data from it and pass it through to a webpage form. Does anybody have an idea how this might be possible.

Could I possibly use the ?XXX format to append the data to the URL for the page? Has anybody tried this before?

Thanks in advance for any thoughts.

P.s. Conversely, it would also be great to be able to accept data back.

  • Author

OK - well I have this working now. Append the data to the URL address for the page and then use JavaScript to Get the data.

However, I now have another issue, which is the one of getting data back to FileMaker from another web page. I have used the new GetLayoutObjectAttribute script step to access the contents of the web viewer. It works fine using FileMaker on the network, but when I access the database using IWP through a browser the wretched script only retrieves the URL of the web page in the web viewer and not the HTML content.

Anybody have any ideas why this might be happening? I believe I am using the latest version of FM server advanced (8.0v4) and it does the same trick using different browsers.

thanks for any hints

  • Author

I think I have pinned the problem down now, but don't know how to deal with it.

I have the following in a script:

Set Field [Text1; GetLayoutObjectAttribute ("page1";"content")]

The problem with it seems to be that the browser window refreshes just before the step runs. This means that the webpage it refers to has not completed loading up and the only information it can access is the URL. I have tried putting in a Pause step and even a loop, which delays the script, but not the refresh which still happens just before the step.

Does anybody know if there is any way I can prevent this happening or store the contents of the WebViewer without causing a refresh?

Anatole

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.