Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6547 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

In my database, I use a calculated field to construct URLs (from names and cities) for switchboard.com which look like this:

http://switchboard.com/bin/cgiqa.dll?SR=&MEM=1&LNK=3:194&L=brown&F=w&T=fort%20smith&S=AR

Then using the OpenURL script step, I can query the switchboard site for address and phone number, which are returned on a web page.

Is it possible to get the entire text of the returned web page into another field? If so, I would work on parsing out the address, phone, etc., into their own separate fields. Switchboard.com does not offer free web services where this can be done with xml.

Panorama is able to do this, so it would be nice to be able to do in Filemaker.

Any suggestions?

Posted

it certainly can be done in filemaker.

In PHP you can access the calc field with the url, get the information from that url and place it into another field.

  • 2 weeks later...
Posted

No need for PHP (which isn't installed by default on Windows). You can use the native tools for that. Check the "Windows Automation" forum in the "VBscript repository" thread. There's a full example there...

  • 1 year later...
  • Newbies
Posted

I know this is an old post, but I am trying to do what you have already done, and I don't know how.

I would like to openurl and fetch ( & import if possible) the address, city, state, zip,phone number, fax number, and any contact info.

At the very least, if I could get it to open to the company name I entered, as your does, that would be great.

Thanks

Posted (edited)

You can do that all with FileMaker 8.5 without needing to resort to plugins, PHP etc. Use the WebViewer, assign an object name (e.g. "mywebpage") to it, and use a calculated field with the function GetLayoutObjectAttribute("mywebpage",content).

Edited by Guest

This topic is 6547 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.