Insert From URL
Purpose 
Enters the content from a URL into a field.
Format 
Insert From URL [Select; No dialog; <table::field>; Resource URL]
Options 
 •
Select entire contents replaces the contents of a field. If you do not select this option, Insert From URL inserts the content from the URL at the insertion point or at the end of the field's data.
 •
Perform without dialog prevents the “Insert From URL” Options dialog box from displaying when the script step executes.
 •
Select Go to target field or click Specify to specify the field to insert the URL content into.
 •
For Specify URL, click Specify to display the “Insert From URL” Options dialog box, where you can type the URL directly in the text entry area or click Specify to create your URL from a calculation.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server scheduled script 
Yes 
FileMaker Go 
Yes 
Custom Web Publishing 
Yes 
Instant Web Publishing 
Yes 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 12.0
Description 
Insert From URL supports http, https, ftp, ftps, and file protocols. FileMaker Pro downloads the resource that is specified by the URL to the target field.
Note  Be aware that there are possible security issues with using https and ftps. FileMaker cannot perform a certificate check to verify that the server that you specify is the server that replies.
Image files: In Windows, container fields can render GIF, JPG, PNG, BMP, and TIFF files. In the Mac OS, container fields can render GIF, JPG, JPG2, PNG, BMP, TIF, FPX, PSD, SGI, TGA, MAC, and QIF files. Other image types display as thumbnails.
Instant Web Publishing: 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 Instant Web Publishing, be sure that Select entire contents is selected.
Examples 
The following example accesses a website and inserts a PDF into a Report container field in a Sales file. If the Report field is an interactive container, users can browse, copy, and paste from the PDF.
Insert From URL [No dialog; Sales::Report; “http://www.filemaker.com/sales_report.pdf”]
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)