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.

Extract text from web window ( parse using GetLayoutObjectAttribute )

Featured Replies

  • Newbies

Hey Guys.... running Filmaker 8.5 Advanced.

I'm trying to extract text from a web page using the GetLayoutObjectAttribute function, but I have having a lot of trouble getting it to work.

This is the calculation field I am using"

[color:red]outputtext = GetLayoutObjectAttribute ( "webbox" ; "content" )

as a TEXT result.

As a text field I get no resulting HTML. As a container I get the resulting HTML source, but it is un-parsable.

Should the result be a Container or Text ?

What I am doing wrong ?

Don't make it a calc field; make it a set-field script step. If it is a calc field you will at least have to make it unstored and refresh it after the whole page loads.

"webbox" is the object name you have the web viewer, right? Then it should work. Have you tried using a variable instead of outputtext?

In your script, you also have to make sure to wait for the full source to come in. I've posted an example in the web viewer forum a couple of weeks ago.

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.