BuzzT

Web Viewer & Filemaker Server

5 posts in this topic

Hi,

I have a script that pulls some data from the web with a web viewer object. On a FM client I use the pause script step to wait for data to be loaded. As this script step is not available for the server, I am having troubles getting the same script to work on the server.

Does anybody have a solution how to pull data and from the web and use it in calculations on Filemaker Server in a scheduled script?

best,

Sebastian

Edited by

Share this post


Link to post
Share on other sites

The Set Web Viewer function is not compatible with server scheduled scripts.

You should be able to achieve this using ScriptMaster or cURL. ScriptMaster will run on Server.

Share this post


Link to post
Share on other sites

What if you had to fill out a form, submit the data, then get it back? I'm using MBS to do this in FM, but client would like to run it unattended. There is no API.

Share this post


Link to post
Share on other sites

If you know which fields are transmitted, you can transmit the same without web viewer using our CURL functions.

Share this post


Link to post
Share on other sites
On 8/14/2010 at 8:34 AM, BuzzT said:

I have a script that pulls some data from the web with a web viewer object. On a FM client I use the pause script step to wait for data to be loaded.

 

You can save yourself the pause by looping and waiting until the closing HTML tag appears, that way you'll know the page has loaded and you don't need to depend on an arbitrary pause.

Share this post


Link to post
Share on other sites

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