FileMaker Go 12 Development Guide
From the originals
24 scansMachine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.
PDF page 12
Chapter 2 | Differences between FileMaker Go and FileMaker Pro 12 Replace Field Contents script step A script using Replace Field Contents can’t prompt users in FileMaker Go to specify the field and data to be replaced. A Replace Field Contents script step with Perform without dialog deselected will not be performed. Save a Copy As script step The options compacted copy , clone , and self-contained copy (single file) are supported when you perform a Save a Copy As script in FileMaker Go, but not when you manually tap Save/Send > Database in FileMaker Go. For the script step, the self-contained copy (single file) option is equivalent to the compacted copy option. Save Records as PDF script step If you don’t specify the output file path for the Save Records as PDF script step, FileMaker Go uses the name of the window to save the PDF file. Some Save Records as PDF script step options aren’t supported: 1 appending records to an existing PDF 1 selecting the Acrobat version 1 selecting Printing and Editing options on the Security tab 1 deselecting the option that allows screen reading software 1 options on the Initial View tab Save Records as Snapshot Link script step The snapshot link includes the current found set of record IDs, including the layout, view, sort order, mode, and toolbar visibility. If you don’t specify the output file path for the Save Records as Snapshot Link script step, FileMaker Go uses the name of the file to save the snapshot link file. You can open a snapshot link file on multiple devices if: 1 the FileMaker Pro file is stored on each device. 1 the snapshot link file was created in FileMaker Go. 1 the original FileMaker Pro file and the local copy of the file have matching filenames and are at the same relative location. Print Setup script step Performing a Print Setup script step in FileMaker Go sets the paper size, orientation, and scale options for the FileMaker Go Print Setup dialog without displaying the dialog. The Perform without dialog option has no effect on the Print Setup script step in FileMaker Go. Print script step If the Perform without dialog option is not selected, when you perform a Print script step, FileMaker Go displays the Print Setup dialog. You can choose the settings in the dialog, then tap Print to print the file. The Print script settings for number of copies and double-sided options have no effect on the print settings in FileMaker Go.
- Printed product names
- FileMaker Go · FileMaker Pro
- Languages
- English
PDF page 13
Chapter 2 | Differences between FileMaker Go and FileMaker Pro 13 Export Field Contents script step FileMaker Pro exports text as UTF-16, but FileMaker Go exports text as UTF-8. Notes 1 By default, the files created by script steps appear in the Files on Device list and are saved in the Documents folder. To save the files in a temporary folder, use the Set Variable script step to create a variable to specify the output file path and filename for the script step. The files will be saved in the temporary folder and will be deleted when you close FileMaker Go or if FileMaker Go hibernates. You can use the following example to create an email with the file as an attachment. Set Variable [$Output; Value: Get( TemporaryPath ) & “sample.pdf”] Save Records as PDF [No dialog; “$Output”; Records being browsed] Send Mail [Send via E-mail Client; To: “linda@glolda.com”; Subject: “Invoice” ; Message: “Test”; “$Output”] 1 By default, when you run script steps, FileMaker Go creates a new output file. If you continue running the script, a number is added to the end of each filename. For example, the first time you run the Save Records as PDF script step for a sample file, the output filename is sample.pdf. The second time you run the script, the filename will be sample 1.pdf. To replace the output file with the new one instead of keeping multiple copies, add the file path (file: fileName or filemac: fileName ) to the script. For example, if you type file:sample.pdf or filemac:sample.pdf in the Specify Output File dialog each time you run the script, the sample.pdf file in the Documents folder will be replaced with the new one. The following example saves records as a PDF file named sample.pdf and will either create a new file or overwrite the existing file. Save Records as PDF [No dialog; “sample.pdf”; Records being browsed]
- Printed product names
- FileMaker Go · FileMaker Pro
- Languages
- English
PDF page 14
Chapter 2 | Differences between FileMaker Go and FileMaker Pro 14 Unsupported script steps FileMaker Go does not support some script steps. Important Running scripts without handling unsupported script steps appropriately may lead to unintended behavior or data corruption. Returns error code 4 The following script steps return error code 4: Command is unknown. Use Get(LastError) to check for this error code. If Allow User Abort is on, FileMaker Go displays an alert informing you which script step is unsupported and gives you the choice to continue or to abort the script. If Allow User Abort is off, FileMaker Go displays an alert informing you which script step is unsupported. You cannot abort scripts if Allow User Abort is off. Alerts for unsupported script steps will not be displayed if Set Error Capture is on. Category Script step Editing script steps Perform Find/Replace Fields script steps Insert from Index Files script steps New File Miscellaneous script steps 1 Execute SQL 1 Install Plug-In File Navigation script steps Enter Preview Mode Records script steps 1 Import Records (import between FileMaker files is supported) 1 Export Records (.csv, .dbf, .xlsx, .htm, .mer, .tab file formats are supported) 1 Save Records as Excel
Reading notes: Source appears to be technical documentation rather than an advertisement; no headline or product prices present. Footnote markers (1) in the category table may be ambiguous in reading order.
- Languages
- English
PDF page 15
Chapter 2 | Differences between FileMaker Go and FileMaker Pro 15 Returns error code 3 The following script steps return error code 3: Command is unavailable. Use Get(LastError) to check for this error code. FileMaker Go does not display an alert for these script steps. Category Script step Fields script steps 1 Insert Object (Windows) 1 Update Link (Windows) Files script steps 1 Set Multi-User 1 Recover File 1 Convert File Miscellaneous script steps 1 Allow Formatting Bar 1 Speak (Mac) 1 Send Event (Mac) 1 Send Event (Windows) 1 Perform AppleScript (Mac) 1 Send DDE Execute (Windows) Open Menu Item script steps 1 Open Edit Saved Finds 1 Open File Options 1 Open Manage Containers 1 Open Manage Database 1 Open Manage Data Sources 1 Open Manage Layouts 1 Open Manage Scripts 1 Open Manage Value Lists 1 Open Find/Replace 1 Open Sharing Spelling script steps 1 Check Selection 1 Check Record 1 Check Found Set 1 Correct Word 1 Spelling Options 1 Select Dictionaries 1 Edit User Dictionary Windows script steps 1 Show/Hide Text Ruler 1 Move/Resize Window 1 Arrange All Windows
Reading notes: Script step category table columns are ambiguous; leading '1' markers may be list numbering rather than content.
- Printed product names
- FileMaker Go · FileMaker Pro
- Languages
- English
PDF page 16
Chapter 3 Designing databases for FileMaker Go
Chapter 3 Designing databases for FileMaker Go This chapter explains what to consider when designing a database that will be used on a device. Designing layouts When you design a layout, keep in mind that on the device, you can’t: 1 remove views or layouts 1 add or remove fields 1 switch to layouts that aren’t set to show in the Layouts menu, unless you provide a navigation button 1 use the menu to insert the current date, time, or timestamp, unless you provide a button or use a script 1 define and assign value lists (drop-down lists and pop-up menus that Allow editing of value list are supported) 1 display tooltips 1 display leader characters such as “...” in tab control names For general design considerations for devices, see the Apple developer website. Tips for designing layouts and fields 1 Leave enough inactive space on the form so that users can tap outside a field to commit their data. 1 Reduce the size of images as much as possible. 1 Use the PNG file format for images. 1 Use the screen stencils to help you work within the viewing area of a device. 1 Some FileMaker Pro themes use the Tahoma font. This font is not supported in iOS and will be converted to Helvetica in FileMaker Go. 1 Choose one of the device themes in the New Layout/Report assistant or Change Theme dialog box. These themes use the Helvetica Neue font. 1 In the Starter Solutions, adapt layouts that are designed for devices. 1 Distribute the fields on a form vertically. 1 If you don’t leave enough space between fields, tapping a field will cover the field next to it. Leave at least 20 points vertical space between fields, or enable the vertical scroll bar for the field. 1 FileMaker Go supports accessibility using VoiceOver. For information about creating accessible solutions, see FileMaker Pro Help. 1 If you apply FileMaker Pro themes to files that you plan to use on a device, check the appearance of field label spacing, field heights, portals, and tabs on the device. 1 To create iOS-style grouped fields, in the Appearance tab of the Inspector, specify a Corner radius value for each corner to make it round or square.
Reading notes: Source appears to be a technical documentation excerpt rather than an advertisement; product names listed are only those explicitly printed in the copy.
- Printed product names
- FileMaker Go · FileMaker Pro · FileMaker Pro Help · Starter Solutions
- Languages
- English
PDF page 17
Chapter 3 | Designing databases for FileMaker Go 17 Screen dimensions To optimize your design for both portrait and landscape orientation, limit the width of the layout to the screen width for the portrait orientation. This way, users don’t have to scroll right or left to see the data. Try to keep the information that needs to be most visible within the screen dimensions that are shared between portrait and landscape orientations. Use auto-resizing settings in FileMaker Pro to optimize the layout for portrait and landscape rotations. Choosing fonts When choosing fonts, consider which platform you are designing for. Some fonts have different behavior for different platforms. The following fonts are suggestions, not recommendations. Not all fonts are supported on the desktop or on devices, and the fonts that are supported on iOS are likely to change over time. Be sure to test your databases on all platforms you plan to use. iPhone and iPod touch iPad Arial Arial Rounded MT Bold Courier Courier New Georgia Helvetica Helvetica Neue Times New Roman Trebuchet MS Verdana Cochin American Typewriter Apple Gothic Marker Felt Thonburi Zapfino Arial Arial Rounded MT Bold Courier Courier New Georgia Helvetica Helvetica Neue Times New Roman Trebuchet MS Verdana Academy Engraved LET Baskerville Chalkduster Optima Palatino Gill Sans Futura Cochin Snell RoundHand Didot American Typewriter Apple Gothic Copperplate Hoefler Text Marker Felt Papyrus Party LET Thonburi Zapfino
Reading notes: Font lists are arranged in two columns whose pairing may be ambiguous in reading order
- Printed product names
- FileMaker Pro · FileMaker Go · iPhone · iPod touch · iPad · iOS
- Languages
- English
PDF page 18
Chapter 3 | Designing databases for FileMaker Go 18 Text styles The following text styles are supported in iOS: bold, italic, underline, title case, uppercase, lowercase, word underline (appears as underline), double underline. iOS doesn’t support: highlight, strike through, condense, extend, small caps, superscript, subscript. Considerations for data entry on a device 1 Only fields are supported in the tab order. You can set up Tab and Return, but not Enter, to go to the next field. 1 You can’t insert values into a field from an index on the device, and you can’t Auto-complete using existing values . 1 Paragraph alignment, line spacing, and indentation might not display correctly in container fields. To prevent these appearance issues, use center alignment in container fields. 1 Auto-Correction will not work in text fields that have script triggers set up to catch keystrokes. 1 Editing a text field in FileMaker Go reverts all styles in that field to plain text. 1 You can edit about 64K of text at a time. 1 Asian languages: sideways text and Furigana aren’t supported. Input method editors (IMEs) will not work in text fields that have script triggers set up to catch keystrokes. Considerations for performance on a device Container fields For container fields with images in remote files, the server scales the images before sending them to the device. For container fields with images in local files, the device handles the images; for improved performance use smaller images. Layouts Make several layouts with a minimum of objects instead of one layout with many objects. For information about designing layouts, see “Tips for designing layouts and fields” on page 16. Script triggers To improve performance, use uncomplicated scripts in script triggers.
- Languages
- English
PDF page 19
Chapter 3 | Designing databases for FileMaker Go 19 External keyboards Some keystrokes behave differently on external keyboards. Functionality Behavior in FileMaker Go Tab key Supported for field types that display the on-screen keyboard. Shift-Tab isn’t supported. Undo, Redo, Cut, Copy, Paste, Select All keys Supported Keystrokes to move between records (for example, Control-Down Arrow) Not supported Modifier keys (for example, Option or Alt) Not supported Eject key Hides or shows the on-screen keyboard Arrow keys Not supported for value lists, date/time/timestamp pickers
- Printed product names
- FileMaker Go
- Languages
- English
PDF page 20
Chapter 4 Protecting databases in FileMaker Go This chapter explains the behavior for opening protected files and logging in after multitasking. It also provides information for keeping your databases secure. Opening files protected with passwords When users try to open a protected file, a dialog prompts them to specify an account and password. FileMaker Go checks the following settings in the specified order to determine how to open a protected file. If none of these settings are used, the user needs to enter the login information to open the file. 1. URL protocols In FileMaker Pro, you can use the FMP protocol in a URL in order to open a shared, remote FileMaker Pro file. See “Opening files and running scripts using the FMP protocol” on page 21. 2. File Options setting to log in automatically In FileMaker Pro, you can use the File Options setting to automatically log in using a specific account and password when you open the database. 3. User manual override In FileMaker Go, users can temporarily bypass the default login information when they open a file by touching and holding a filename in the file list. Releasing the filename displays a dialog where users can enter a different account and password. Logging in after multitasking When you press the Home button on your device, FileMaker Go moves to the background and saves the state of the file. FileMaker Go also saves the state of the file when you answer a phone call. When you switch back to FileMaker Go, you return to where you left off. Files can be configured to require reauthentication after being in the background for a specified period of time. See “Using the fmreauthenticate extended privilege” on page 21 . After FileMaker Go moves to the background, you must re-enter your account and password to return to the file, unless: 1 you are using the Guest account. 1 your account name and password match the account name and password set in the File Options dialog in FileMaker Pro. 1 you have returned to the file before the time limit specified in the fmreauthenticate extended privilege. 1 you are using an account that does not have the fmreauthenticate extended privilege. Note These conditions also apply to files converted from an earlier version of FileMaker Pro.
- Printed product names
- FileMaker Go · FileMaker Pro
- Languages
- English
PDF page 21
Chapter 4 | Protecting databases in FileMaker Go 21 Using the fmreauthenticate extended privilege Use the fmreauthenticate extended privilege to control when users will be required to reauthenticate after not using FileMaker Go for a specified period of time. With this privilege, when FileMaker Go switches to the foreground users must re-enter the account name and password if the specified time limit has elapsed. Users can attempt to enter their account name and password five times before FileMaker Go closes the files. New privilege sets created in FileMaker Pro include the keyword fmreauthenticate10 by default. The fmreauthenticate extended privilege activates any time a user leaves the context of the app, including iOS alerts, and sleep. If a file converted from an earlier version of FileMaker Pro: 1 does not have the fmrestorelogin extended privilege, FileMaker Pro adds the keyword fmreauthenticate0 . 1 does have the fmrestorelogin extended privilege, FileMaker Pro removes it. Opening files and running scripts using the FMP protocol In FileMaker Pro, you can use the FMP protocol in a URL to open a shared, remote FileMaker Pro file. For example: [<][URL:]FMP://[[account:password@]netaddress]/databasename[>] You can also use the FMP protocol to open and run a specified script in remote FileMaker Pro files, hibernated files, local database files on a device, or to communicate with other apps. Example 1: Opening remote files Open a file named Clients.fmp12 on the host machine with an IP address of 192.168.10.0 with a script named ListClients. FMP://192.168.10.0/Clients.fmp12?script=ListClients Example 2: Opening hibernated files Reopen a file named Clients.fmp12 that was hibernated in FileMaker Go with a script named ListClients. fmp://$/Clients.fmp12?script=ListClients Note When using FMP , FileMaker Go restores all hibernated files first and then processes FMP . Example 3: Opening local files Open a local file named Clients.fmp12 on the device with a script named ListClients. fmp://~/Clients.fmp12?script=ListClients Example 4: Passing parameters to a script and defining local variables Open a file named Clients.fmp12 on the host machine with an IP address of 192.168.10.0 with a script named ListClients. Specify a parameter of TopClients and a local variable $NumberToList with a value of 10. FMP://192.168.10.0/Clients.fmp12?script=ListClients¶m=TopClients&$NumberTo List=10
Reading notes: Source appears to be a technical manual page rather than an advertisement; headline could not be identified Spacing artifacts in product names such as 'FileMaker Go' may reflect extraction formatting
- Printed product names
- FileMaker Go · FileMaker Pro · FileMaker
- Languages
- English
PDF page 22
Chapter 4 | Protecting databases in FileMaker Go 22 Notes 1 Filenames are case-sensitive. Script names are not case-sensitive. 1 The filename extension .fmp12 is not required. 1 You can define multiple variables in the same FMP protocol. 1 If spaces are needed in a link, replace every space with %20 . You can specify the account and password in the address (except when you’re opening hibernated files). Suggestions for protecting remote and local files If your files need less security 1 Set a long server idle time for files served by FileMaker Server. 1 Increase the number of minutes before requiring re-login using the fmreauthenticate extended privilege. 1 Don’t use the fmreauthenticate extended privilege. If your files need more security — one user per device Remote files Try to balance security needs and user convenience when specifying the amount of time: 1 before the passcode is required 1 for server idle time 1 before requiring re-login using the fmreauthenticate extended privilege Local files 1 Take additional precautions to prevent someone from accessing files on lost or stolen devices. 1 Use the fmreauthenticate extended privilege to minimize unauthorized access. If your files need more security — multiple users per device 1 Set the passcode to be required immediately. 1 Set the fmreauthenticate extended privilege to fmreauthenticate0 . 1 Users should be required to enter the passcode, then log in to files using their own accounts.
Reading notes: Chapter header and page number reading order is unclear in the supplied text.
- Printed product names
- FileMaker Go · FileMaker Server · FMP
- Languages
- English
PDF page 23
Chapter 4 | Protecting databases in FileMaker Go
Chapter 4 | Protecting databases in FileMaker Go 23 Security tips To limit unauthorized access: 1 Set a passcode on your device. 1 Use the free Find My iPad or Find My iPhone app. Enable the Remote Passcode Lock and Remote Wipe features for your device. 1 Use the Get(PersistentID) function to help identify devices that access your solutions. Notes 1 FileMaker Go doesn’t work with IPv6 file references or addresses. 1 If a host asks a client to close and there is no response after 30 seconds, FileMaker Go will attempt to close databases and the alert message will close. 1 File recovery isn’t supported on devices. SSL certificates FileMaker Go can connect to the following FileMaker Server root certificate configurations: 1 FileMaker root certificate (SSL-enabled Server) 1 VeriSign 1 GeoTrust 1 GoDaddy 1 Thawte 1 Comodo
- Printed product names
- FileMaker Go · Find My iPad · Find My iPhone · FileMaker Server · VeriSign · GeoTrust · GoDaddy · Thawte · Comodo
- Languages
- English