dbTalk Databases Forums  

GetLayoutObjectAttribute for Web Viewer in Web Publishing

comp.databases.filemaker comp.databases.filemaker


Discuss GetLayoutObjectAttribute for Web Viewer in Web Publishing in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
MichaelR
 
Posts: n/a

Default GetLayoutObjectAttribute for Web Viewer in Web Publishing - 02-25-2007 , 04:55 AM






There was a very useful thread a few months ago called
"GetLayoutObjectAttribute" which had a nice technique for ensuring
that when you wanted to parse the HTML content of a Web Viewer object
you could wait until the content was available using a simple Loop.

I have used this technique and it works perfectly. Thanks to Howard
Schlossberg!

However, I need to use something similar for a database that is being
published using IWP and for some reason, when I evaluate the
GetLayoutObjectAttribute("wv";"content") function, and display it on
screen in IWP (for debugging) Filemaker does not return the source
HTML as I would expect and hope. It returns the URL! This is not much
use to me as I need to parse the HTML return of a PERL script running
on a remote server before the database can carry on with its work.

Has anybody tried to use this or have any ideas how I can work around?

Many thanks in advance for any help
Michael


Reply With Quote
  #2  
Old   
MichaelR
 
Posts: n/a

Default Re: GetLayoutObjectAttribute for Web Viewer in Web Publishing - 02-26-2007 , 04:44 PM






On 25 Feb, 10:55, "MichaelR" <michaeliru... (AT) gmail (DOT) com> wrote:
Quote:
There was a very useful thread a few months ago called
"GetLayoutObjectAttribute" which had a nice technique for ensuring
that when you wanted to parse the HTML content of a Web Viewer object
you could wait until the content was available using a simple Loop.

I have used this technique and it works perfectly. Thanks to Howard
Schlossberg!

However, I need to use something similar for a database that is being
published using IWP and for some reason, when I evaluate the
GetLayoutObjectAttribute("wv";"content") function, and display it on
screen in IWP (for debugging) Filemaker does not return the source
HTML as I would expect and hope. It returns the URL! This is not much
use to me as I need to parse the HTML return of a PERL script running
on a remote server before the database can carry on with its work.

Has anybody tried to use this or have any ideas how I can work around?

Many thanks in advance for any help
Michael
Well, turns out it is a limitation in FM 8.5. It is there in the small
print in the Web Publishing Guide. I always find it quite annoying
when you get these seemingly arbitrary flaws in functionality.

Anyway, on the plus side, Troi's URL plugin does not seem to suffer
the same problem with its GetURL command. Need to test a bit more but
looks like a much more capable tool for manipulating web pages, even
if it can't render them! I guess the plugin and the web viewer
together are a pretty good combo though.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.