Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Filemaker 10 get url put contents into field

Tags:

filemaker

Im trying to get the contents of a webpage put into a field in Filemaker pro 10. Does anybody know the code to do this in the scripmaker?

I have a field called URL that has the url I want and a filed called content, this is where the source html will go once FMP has grabbed the web page.

Thanks for reading.

like image 995
tin tin Avatar asked Aug 12 '09 20:08

tin tin


1 Answers

Filemaker 10 is perfectly capable of exporting the web viewer contents for you.

Use the Object Viewer in layout mode to name your web viewer (I am using "YourWebViewerName" here) then you can snag the content of your webviewer using:

GetLayoutObjectAttribute("YourWebViewerObjectName";"Content")

Your scriptmaker step would look like:

Set Field [tablename::Content; GetLayoutObjectAttribute ("YourWebViewerObjectName"; "Content")]

like image 134
Bob Minteer Avatar answered Oct 17 '22 10:10

Bob Minteer