madvova.blogg.se

360works scriptmaster write file to disk
360works scriptmaster write file to disk






360works scriptmaster write file to disk

The script looks like this: Commit Records/Requests Įxport Field Contents Ĭommit Records/Requests makes sure that a newly entered or dragged ID is used. Get ( DesktopPath ) & localFile & theID & ".php" UPath // unstored calculation for the file path LocalFile // the common name for local storage "shipper" GHtml // a global field for the raw HTML data received TheID // (number) the individual query ID TheArg // the argument label "shipmentID" In your FileMaker file (named here PostAndWebViewer) you need some fields, a script, a layout with a WebViewer object, and possibly a button that triggers the script. There are newer plug-ins available that require FileMaker Pro 7 and up, like zippShell (PPC and Intel) by John KornhausĪnd ScriptMaster (all platforms) by. It works with FileMaker versions 6 to 9, but not on Intel Macs. The Shell plug-in - as of this writing - can be freely downloaded from. We save the HTML to disk and then show this file in the WebViewer.ĬURL should already be available with Mac OS X. We assume a freight carrier URL and a shipment ID have to be posted to receive a result page. The following example uses the Shell plug-in on Mac OS X. While with a GET you simply append the arguments to the URL, like "", POST uses the arguments of a HTML FORM that may contain any kind of data, like input fields, text areas, hidden fields, button names, position of clicked graphics, and cookie data. You can mimic a POST command and show the result page in WebViewer with the aid ofĬURL and either AppleScript, Shell Plug-in, or VB-Script.ĭon't mix up POST and GET commands. Use cURL to send a POST and show the result in WebViewerĪs of version 8.5, FileMaker® Pro is not able to send POST commands to a web server from scratch and show the results in a WebViewer frame (without first loading a web page that contains a HTML FORM and a submit button).

360works scriptmaster write file to disk

#360works scriptmaster write file to disk how to#

Go to Reader Comments at the bottom of the page How to show the results of a POST command in WebViewer








360works scriptmaster write file to disk