When we are required to get the content from a web-page and need to update a field, we generally do the following steps:
1. Start a web-viewer.
2. Run the url in the web-viewer.
3. Get the content from the web-viewer object.
4. Pause the script for some seconds to get the url executed.
4. And parse the required data and update it in Filemaker file.
|
This process works fine as long as it runs from client side, the web-vewer does not support server side scripts. So here is the problem; If you require a server side script that needs to start a web-viewer to update some data from a web-page, the web-viewer process will not help.
So to avoid this type pf problems, we have a script step ‘InsertFromUrl‘ inFileMaker 12. This script step requires two parameter, first one is a field in which you want to store the content and second one is web url. The target field will be filled up by the contents of the web url. This script step supports both server side and client side.
For this script step, you can a find the check box ‘Perform without dialog‘. Select this box as per your requirement. But for server side use, always uncheck this option, because server side does not support a step with dialog.
NOTE: The field used by ‘InsertFromUrl’ script step shoud be in the layout. Otherwise it will return an error ‘Field is missing’
|