Script Steps Reference
Table Of Contents
- Contents
- Script steps reference (alphabetical list)
- About script steps
- Control script steps
- Navigation script steps
- Editing script steps
- Fields script steps
- Set Field
- Set Field By Name
- Set Next Serial Value
- Insert Text
- Insert Calculated Result
- Insert From Device
- Insert From Index
- Insert From Last Visited
- Insert From URL
- Insert Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- Insert QuickTime
- Insert Audio/Video
- Insert PDF
- Insert File
- Replace Field Contents
- Relookup Field Contents
- Export Field Contents
- Records script steps
- New Record/Request
- Duplicate Record/Request
- Delete Record/Request
- Delete Portal Row
- Delete All Records
- Open Record/Request
- Revert Record/Request
- Commit Records/Requests
- Copy Record/Request
- Copy All Records/Requests
- Import Records
- Export Records
- Save Records As Excel
- Save Records As PDF
- Save Records As Snapshot Link
- Found Sets script steps
- Windows script steps
- Files script steps
- Accounts script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
- Glossary
Fields script steps
F
ILEMAKER PRO SCRIPT STEPS REFERENCE 89
Description
Insert From URL supports http, https, httppost, httpspost, ftp, ftps, and file protocols.
FileMaker
Pro downloads the resource that is specified by the URL to the target field.
Image files: In Windows, container fields can render GIF, JPG, PNG, BMP, and TIFF files. In OS X,
container fields can render GIF, JPG, JPG2, PNG, BMP, TIF, FPX, PSD, SGI, TGA, MAC, and QIF
files. Other image types display as thumbnails.
FileMaker WebDirect: if Select entire contents is deselected, and you Insert From URL to a text
field, the contents from the URL are appended to the text field. Multiple fetches can result in
unpredictable results and slower performance.
Important For better performance in FileMaker WebDirect, be sure that Select entire contents is
selected.
Notes
• httppost and httpspost are custom schemes defined by FileMaker Pro that enable you to
send HTTP POST data. See About importing data using an HTTP request.
• Be aware that there are possible security issues with using https, httpspost, and ftps.
FileMaker cannot perform a certificate check to verify that the server that you specify is the
server that replies.
Example 1
Accesses a website and inserts a PDF into the Sales Report container field.
Insert From URL [No dialog; Customers::Sales Report; “http://
www.filemaker.com/sales_report.pdf”]
Example 2
Inserts a map showing the customer's address in the Address Map container field.
Insert From URL [No dialog; Customers::Address Map; "http://
maps.google.com/maps/api/staticmap?center=" & Customers::Address &
"&zoom=14&markers=" & Customers::Address & "&size=256x256&sensor=false"]
Example 3
Inserts the HTML code for http://www.apple.com.
Insert From URL [No dialog; Customers::HTML Website Code; "http://
www.apple.com"]