← FileMaker Go 12 Development Guide

FileMaker Go 12 Development Guide

From the originals

24 scans

Machine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.

Image 1

FileMaker Go 12 Development Guide

FileMaker® Go 12 Development Guide

A white title page with the black FileMaker wordmark and gray 'Go 12' above 'Development Guide' at right, with a stylized white and pink-to-blue folder icon in the lower right.

Printed product names
FileMaker Go 12
Languages
English
PDF page 1

FileMaker Go 12 Development Guide

FileMaker® Go 12 Development Guide

A white title page with large black and gray headline text in the upper right and a stylized white and magenta-to-blue folder icon with file tabs in the lower right.

Reading notes: The registered trademark symbol after FileMaker is small and rendered as ® in the transcript.

Printed product names
FileMaker Go 12
Languages
English
PDF page 2

© 2011-2012 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker and Bento are trademarks of FileMaker, Inc. registered in the U.S. and other countries. The file folder logo and the Bento logo are trademarks of FileMaker, Inc. All other trademarks are the property of their respective owners. FileMaker documentation is copyrighted. You are not authorized to make additional copies or distribute this documentation without written permission from FileMaker. You may use this documentation solely with a valid licensed copy of FileMaker software. All persons, companies, email addresses, and URLs listed in the examples are purely fictitious and any resemblance to existing persons, companies, email addresses, or URLs is purely coincidental. Credits are listed in the Acknowledgements documents provided with this software. Mention of third-party products and URLs is for informational purposes only and constitutes neither an endorsement nor a recommendation. FileMaker, Inc. assumes no responsibility with regard to the performance of these products. For more information, visit our website at www.filemaker.com. Edition: 01

Reading notes: No image was attached, so the visual description is based only on the supplied text rather than the scan. The supplied copy is a legal and copyright notice rather than an advertisement, so no advertised products or prices were identified. FileMaker and Bento are named only as trademarks in the notice, not as advertised products. Edition: 01 was not treated as a date. Transcript is intentionally empty because the exact extracted text is preserved separately.

Printed dates
2011-2012
Languages
English
PDF page 3

Contents Chapter 1 Setting up databases for FileMaker Go 5 Sharing FileMaker Pro files with FileMaker Go clients 5 Hosting databases in FileMaker Server 5 Hosting databases in FileMaker Pro 5 Connecting to databases 6 About file transfers 7 Transferring a file with container fields that store data externally 7 Importing to and from a transferred file 7 Chapter 2 Differences between FileMaker Go and FileMaker Pro 9 Unsupported features 9 Behavior differences 9 Modes 9 Sorting 9 Date and time pickers 10 Custom menus (FileMaker Pro Advanced) 10 Printing 10 Saving records as a PDF file 10 Exporting 10 Container fields 10 Display state of objects 10 Snapshot link files 11 Scroll bars in portals 11 Scripting and calculations 11 Scripts and functions behavior 11 Unsupported script steps 13 Chapter 3 Designing databases for FileMaker Go 16 Designing layouts 16 Tips for designing layouts and fields 16 Screen dimensions 17 Choosing fonts 17 Text styles 18 Considerations for data entry on a device 18 Considerations for performance on a device 18 Container fields 18 Layouts 18 Script triggers 18 External keyboards 18

Printed product names
FileMaker Go · FileMaker Pro · FileMaker Server · FileMaker Pro Advanced
Languages
English
PDF page 4

4 Chapter 4 Protecting databases in FileMaker Go 20 Opening files protected with passwords 20 Logging in after multitasking 20 Using the fmreauthenticate extended privilege 21 Opening files and running scripts using the FMP protocol 21 Suggestions for protecting remote and local files 22 If your files need less security 22 If your files need more security — one user per device 22 If your files need more security — multiple users per device 22 Security tips 23 SSL certificates 23

Reading notes: Source appears to be a table of contents fragment; no primary heading or advertised products are present.

Languages
English
PDF page 5

Chapter 1 Setting up databases for FileMaker Go FileMaker® Go lets you work with FileMaker Pro databases on your iPhone, iPod touch, or iPad. You work with data interactively: when you change data on the device, the data is updated on the host computer, and vice versa. You can also transfer a database to the device and work "offline." You create, design, and manage databases in FileMaker Pro on the desktop. On the device, you can add, find, and sort records, as well as perform scripts and other tasks. This guide provides information about setting up databases for FileMaker Go. See FileMaker Go Help on your device for information on usage. See FileMaker Pro documentation if you are new to FileMaker Pro. Sharing FileMaker Pro files with FileMaker Go clients FileMaker Go works with files and runtime solutions hosted by FileMaker Server or FileMaker Pro. Hosting databases in FileMaker Server Before you share FileMaker Pro database files, prepare the files for hosting. The steps below provide an overview of the process. To enable file access for FileMaker Go: 1. Edit the accounts and privileges sets that clients will use for shared access (for example, Access via FileMaker Network ). 2. Upload the database files to FileMaker Server. Use the Upload Database assistant to transfer database files from your computer to FileMaker Server. Or, you can manually copy FileMaker Pro database files to FileMaker Server instead of using the Upload Database assistant. 3. Verify the status of your files in the Admin Console Databases pane, and verify that the files are available to FileMaker clients. When FileMaker Server starts, it automatically opens and hosts all FileMaker Pro databases located in the default database folder and in an additional database folder, if specified. See FileMaker Server documentation for more information on server administration. Hosting databases in FileMaker Pro The following steps describe peer-to-peer sharing in FileMaker Pro. To enable file access for FileMaker Go: 1. In FileMaker Pro, open the file. 2. Choose File menu > Sharing > FileMaker Network . 3. In the FileMaker Network Settings dialog box, set Network Sharing to On . 4. Select the file(s) to be hosted from the list of Currently open files .

Printed product names
FileMaker Go · FileMaker Pro · FileMaker Server · FileMaker Network
Languages
English
PDF page 6

Chapter 1 | Setting up databases for FileMaker Go 6 5. For Network access to file , choose All users or Specify users by privilege set . 6. Click OK . Connecting to databases After you share and host a file, you connect to it as a client in FileMaker Go. Devices connect to hosted databases like any other client, using the fmapp extended privilege. Note FileMaker Go cannot access FileMaker Server hosts available through LDAP, or view and use SSL certificates from LDAP hosts. Network Sharing on Allow network access Settings to enable network sharing for FileMaker Go clients Browse to select a hosted file Add a favorite host via IP address or domain name Connecting to a hosted database in FileMaker Go

Languages
English
PDF page 7

Chapter 1 | Setting up databases for FileMaker Go 7 About file transfers For information on transferring files to or from a device, see FileMaker Go Help. Keep the following points in mind: 1 When you transfer a file to your device, you are creating a copy of the remote file. Data changes made on your device are not synchronized to the remote file, and vice versa. You can set up the file to import and update data from the local file to the hosted file using FileMaker Pro; see “Importing to and from a transferred file.” 1 Routine backups are strongly recommended for any document stored on a computer or iOS device. For more information about backing up FileMaker Pro databases, see FileMaker Pro Help. Transferring a file with container fields that store data externally To transfer a file with container fields that store data externally, you must first embed the container field data. To do this, in FileMaker Pro, use the Save a Copy As command and choose self- contained copy (single file) . Then transfer the copy. Importing to and from a transferred file You can use the Import Records script step to merge data from a FileMaker Pro file on a device (a local file) to another FileMaker Pro file. FileMaker Go must have network access to FileMaker Server or FileMaker Pro. Set up field mapping and import order before you import. You can’t create a new table when you import. You can: 1 import from a remote source into a local database 1 import from a local source into a remote database 1 import from a remote source into a remote database 1 import from a local source into a local database Remote file (shows host name) Local transferred file

Reading notes: Running page header and footer text appears mixed into body copy; reading order may be affected. Some list markers and the diagram caption "Remote file (shows host name)" are fragmentary.

Printed product names
FileMaker Go · FileMaker Pro · FileMaker Server · FileMaker Pro Help · FileMaker Go Help
Languages
English
PDF page 8

Chapter 1 | Setting up databases for FileMaker Go 8 Example 1: Importing from a remote source (Source.fmp12) into a local database (Target.fmp12) 1. Open Source.fmp12 and Target.fmp12 in FileMaker Pro. 2. Create an “Import from Remote” script in Target.fmp12. For example: Import Records [No dialog; “Source.fmp12”;Update existing;Mac Roman] and set up a path to the source file using your machine IP address. For example: fmnet:/ 192.168.10.10 /Source.fmp12 3. Specify the import order. 4. Close Target.fmp12. 5. Transfer Target.fmp12 to FileMaker Go. 6. Open Target.fmp12 in FileMaker Go and run the script "Import from Remote." The local database is updated with data from the remote database. Example 2: Importing from a local source (Source.fmp12) into a remote database (Target.fmp12) 1. Transfer Source.fmp12 to FileMaker Go. 2. Open Target.fmp12 in FileMaker Pro. 3. Create an “Import to Remote” script in Target.fmp12. For example: Set Variable[$FilePath;Value:Get(DocumentsPath) & “Source.fmp12”] Import Records[No dialog; “$FilePath”; Add; Mac Roman] where the path to the source file on the device is file:$FilePath 4. In the Edit Script dialog box, select the Import Records script step and select Specify import order . If the source fields do not appear in the Import Field Mapping dialog, select Specify data source , and add another path to Source.fmp12 to the path list. For example: file:$FilePath file:Source.fmp12 5. Open Target.fmp12 remotely in FileMaker Go. 6. Run the script "Import to Remote." Using Target.fmp12 in FileMaker Go, you have added data from Source.fmp12 on the device to Target.fmp12 on the host computer. Tip After you complete one import, the field mapping is retained if you selected Arrange by: last order in the Import Field Mapping dialog. There is no longer a need for the file:Source.fmp12 reference.

Printed product names
FileMaker Go · FileMaker Pro
Languages
English
PDF page 9

Chapter 2 Differences between FileMaker Go and FileMaker Pro This chapter explains some differences between FileMaker Go and FileMaker Pro, as well as some differences between FileMaker Go for iPhone and FileMaker Go for iPad. Unsupported features FileMaker Go does not support the following FileMaker Pro features: 1 creating databases on the device 1 modifying database schema such as tables, fields, relationships, data sources, and privileges 1 modifying database structure such as layouts, scripts, value lists, and custom menus 1 importing* 1 exporting to .fmp12, XML, or Excel .xls formats 1 spell checking 1 external functions 1 plug-ins 1 hosting files 1 Instant Web Publishing *Importing from one FileMaker Pro file into another FileMaker Pro file is supported in FileMaker Go version 1.1.1 and later. Behavior differences Modes Layout and Preview modes aren’t supported in FileMaker Go. Sorting When you tap a field column header to sort records in Table View, three sort orders are available: Ascending, Descending, and unsorted. The sort order By Value List is also available for a field column header if you sorted the field by a value list using the Edit Sort Order screen. By default, By Value List sorts records in ascending order. After you sort By Value List the first time, tap the column header again to sort records in descending order. If this field has been used in a previous sort of multiple fields, the sort order for the field will change but retain the previous sort order for the other fields. You might need to tap the column header more than once to clear the previous sort criteria.

Printed product names
FileMaker Go · FileMaker Pro · FileMaker Go for iPhone · FileMaker Go for iPad
Languages
English
PDF page 10

Chapter 2 | Differences between FileMaker Go and FileMaker Pro 10 Date and time pickers Differences in behavior between FileMaker Go and the desktop include: 1 Seconds or fractions of seconds aren’t available on the time/timestamp picker in FileMaker Go. You can type seconds into the field. Scripted or calculated times will display seconds on the device. 1 On the iPad, the keyboard remains active while the date picker is active. 1 Data in FileMaker Go date fields might change if the device calendar changes. Custom menus (FileMaker Pro Advanced) FileMaker Go doesn’t support: 1 removal of menu items that were removed on the desktop. The menu items are still displayed in FileMaker Go, but they are disabled. 1 additional menu items that do not map to existing FileMaker Go menu items. 1 override of the Quick Find menu item by custom menus, though you can override the quick find behavior. 1 override of Save Record and Exit Record by custom menus. 1 display of an ampersand (&) in custom menu titles. Printing 1 The print options that you set for a file in FileMaker Pro have no effect on the print options for the same file in FileMaker Go, and vice versa. 1 If you don’t specify page margins for a layout in FileMaker Pro, FileMaker Go uses the printer’s default margin, which might vary with different printers or different print drivers. You should specify page margins if you’re printing a layout where exact spacing is important, like labels or a preprinted form. Saving records as a PDF file When you save records as a PDF file, FileMaker Go uses the name of the window for the PDF filename. Exporting By default, all manual export operations use UTF-8, except .xlsx, which uses UTF-16. You must use the Export Records script step to select fields whose values you want to summarize or fields that are not on the current layout, and you must use the Export Records script step to configure the output file character set. Container fields FileMaker Go doesn’t support: 1 the Inspector Data Formatting options Images or Interactive content . (Content in container fields is displayed by the iOS like other iOS audio, video, and PDF files.) 1 setting up container fields to store data externally. Display state of objects FileMaker Go doesn’t display the Hover state for objects.

Reading notes: Chapter heading and page number ('Chapter 2 | ... 10') appear as running header; primary heading taken as the section title.

Printed product names
FileMaker Go · FileMaker Pro · FileMaker Pro Advanced
Languages
English
PDF page 11

Chapter 2 | Differences between FileMaker Go and FileMaker Pro

Chapter 2 | Differences between FileMaker Go and FileMaker Pro 11 Snapshot link files When a snapshot link file that was created in Preview mode is opened in FileMaker Go, the file is displayed in Browse mode. Scroll bars in portals When the Show vertical scroll bar option in the FileMaker Pro Portal Setup dialog box is enabled, FileMaker Go users can scroll within a portal using an iOS scroll bar. Scripting and calculations Important Test your solution to ensure your script steps are supported. Scripts and functions behavior 1 To abort a currently running script, touch and hold onscreen, and confirm that you want to abort the script. If you do not make a choice, the confirmation will dismiss itself after a few seconds, and the script will continue running. 1 Get(SystemPlatform) returns 3 when performed on the device. 1 Send Mail doesn’t support Perform without dialog. The email displays on the device, and you can send it manually. This does not apply to mail sent through SMTP. 1 The Select All and Set Selection script steps don’t highlight text if the keyboard is hidden on the device. 1 The Open URL script step using a Google Maps URL will open a browser, and then choosing Open in Safari will open the Maps app. 1 If a script contains a hide window command, FileMaker Go does not hide the window but changes the order of the open windows that are displayed. 1 When you switch to another app, FileMaker Go enters a suspended state, and scripts are also suspended. When you return to FileMaker Go, the app and scripts resume from where they left off. If you switch away from FileMaker Go for an extended period, and iOS forces the app to quit, FileMaker Go attempts to generate a hibernation file. When you restart FileMaker Go, it uses the hibernation file to re-open files. A hibernation file is not generated when a script with Allow User Abort set to Off was running when you switched away from FileMaker Go. 1 The GetLayoutObjectAttribute function returns only PNG and JPEG images for the content attribute for charts. 1 The New Window script step doesn’t support the Specify Advanced Style options. 1 Although you set up the Location and LocationValues functions in FileMaker Pro, they are designed for use on devices. 1 The Insert File script step doesn’t support the dialog box options Storage options or Display . 1 The Exit Application script step closes all files but does not quit FileMaker Go. Get(ApplicationVersion) function Get(ApplicationVersion) returns Go x.x.x for the iPhone or iPod touch. Get(ApplicationVersion) returns Go_iPad x.x.x for the iPad. In FileMaker Server, Go x.x.x or Go_iPad x.x.x appears in the Admin Console.

Reading notes: Chapter number appears at the top as page-header text; the heading is taken from the running header rather than a distinct title.

Printed product names
FileMaker Go · FileMaker Pro · FileMaker Server · iOS · Safari · Maps · SMTP
Languages
English