Reference > Script steps reference > Records script steps > Save Records As Snapshot Link
Save Records As Snapshot Link
Saves a found set of records to a FileMaker Pro Snapshot Link (FMPSL) file.
See also 
Save Records as Snapshot Link [“<output filename>”; Create email; Records being browsed/Current record]
Specify output file allows you to enter the path of the snapshot link. Specify one path per line. FileMaker Pro will use the first path it locates. See Creating file paths. You can also select Create email with file as attachment to create a blank email with the snapshot link as an attachment.
If FileMaker Pro executes a script that does not specify an absolute path, and the database file containing the script is hosted, the path is assumed to be the current user’s Documents folder.
Records being browsed saves the entire found set of records.
Current record saves only the current record.
Where the script step runs 
FileMaker Pro 
FileMaker Server 
FileMaker Go 
Custom Web Publishing 
FileMaker WebDirect 
Runtime solution 
Originated in 
FileMaker Pro 11.0
This script step operates in all modes except Find mode.
To send a snapshot link file via SMTP, use the Send Mail script step with the snapshot link file as an attachment, and place it after the Save Records As Snapshot Link script step in the script.
Use this script step with the Get(TemporaryPath) function to save the snapshot link file to a temporary location, if you do not need to store the file locally. If you use Get(TemporaryPath) to form a file path, first assign it to a variable, then use the variable in the Specify Output File dialog box. See Creating file paths.
FileMaker WebDirect does not support the Specify output file option. FileMaker WebDirect saves snapshot links to the web browser’s default download location.
If you don’t specify the output file path, FileMaker Go uses the name of the file to save the snapshot link file.
You can open a snapshot link file on multiple iOS devices if:
the FileMaker Pro file is stored on each device.
the snapshot link file was created in FileMaker Go.
the original FileMaker Pro file and the local copy of the file have matching filenames and are at the same relative location.
Example 1 
Saves the current record as a snapshot link and asks where the user wants to save the snapshot link file.
Save Records as Snapshot Link [Current record]
Example 2 
Saves the found set as a snapshot link in a temporary directory, then creates an email with the snapshot link as an attachment.
Set Variable [$PATH; Value: Get ( TemporaryPath ) & "Invoices.fmpsl"]
Save Records as Snapshot Link ["$PATH"; Create email; Records being browsed]
Related topics 
Get(DesktopPath) function
Get(TemporaryPath) function
Export Records script step
Import Records script step
Script steps reference (alphabetical list)
Script steps reference (category list)