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.

GetLayoutObjectAttribute from Web Viewer during script over web

Featured Replies

Hi,

I have a script which pulls data from the web using a Web Viewer. The script then sets a global field with the contents of the Web Viewer using the following:


Set Field [ gGeocodes; GetLayoutObjectAttribute("GPSWebViewer"; "content") ] 

The script works great within FileMaker.

But, I tried to get this to work for web clients using PHP.FX but no success.

So I backtracked to see if it would even work via IWP... but, also no success.

Do FileMaker scripts over-the-web even allow content to be pulled in from Web Viewers?

Is there another way to do this... maybe using curl?

Many thanks from a frustrated,

ft.

  • Author

OK.

So cURL requires an Applescript to call a shell script. The Applescript scriptstep is not web compatible.

So is it possible to have a FileMaker script, activated through web publishing (IWP or other web interface) which can pull information in from a 3rd party website?

Or am I on a road to nowhere... do I need to look at PHP to do this outside of FMPro?

I think I'll start a new thread!

Thanks,

ft.

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.