Custom Apps Success Guide Create en
Custom Apps Success Guide Create en
Bring it to life!
Now that youve completed the Plan guide
and have learned to gather requirements,
prototype your design, and get user
feedback, youre ready to roll up your
sleeves.
This guide walks you through the first
steps of creating your custom app using
the FileMaker Platform.
Build the perfect custom apps to connect your team to your business.
In this guide
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
The FileMaker
Custom App
Success
Framework
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Assumptions
Make sure you have the most recent version of FileMaker Pro or
FileMaker Pro Advanced on your desktop.
If you dont, consider:
Contact Sales: (800) 725-2747 or
Download a Free Trial: www.filemaker.com/trial
Note: this guide makes references to the user scenario of Jennifer outlined in the Plan
Guide. Please refer to the Plan Guide for more details about this scenario.
FileMaker Pro
FileMaker Pro
Advanced
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Learn about
databases
Import data
Set up security
Appendix A
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Foundations
What does a relational database
do for you?
Relational databases are used to manage
large amounts of information effortlessly.
Why does this matter to you?
With a single point of entry, you can
create or retrieve data while keeping
duplication at a minimum.
Database
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Examples of entities
10
Entity
Employees
Entity
Cars
Attributes
company, department, name, address, etc.
Attributes
manufacturer, model, year, color, etc.
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
11
Customer Table
Fields
(Columns)
First
Last
Company
Street Adress
City
Dave
Jones
Smalltown
Sue
Smith
Rankin Studios
Metropolis
Tom
..
.
Chase
..
.
XYZ Global
..
.
Sunnydale
..
.
Records
(Rows)
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Relationships
Relationships connect data stored in different tables, so that when you are looking at a
record in one table, you also have access to the connected data in another table. The
connection is accomplished by matching information between the two tables. Here are
some examples:
-
A person and his/her insurance policies. A person can have many insurance policies,
and each insurance policy belongs to only one person.
A car and its oil changes. A car may have many oil changes over time, and an oil
change is performed on one car.
A department at a company and its employees. The department may have many
employees, and each employee belongs to one department.
Next slide, well dig a little deeper into how these connections are made.
Relationships
connect tables
12
Table 1
F1
F2
Table 2
FN
FN
FN
FN
FN
FN
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Relationships
When setting up a relationship, we match pairs of fields between
the two tables in order to connect them. These fields are called
keys because their values must match for the relationship to
make a connection. The fields must be unique, for example an ID
field that represents a unique record. In the example below, the
Car ID column in the car table is the primary key, while the Car ID
column in the service table is the foreign key. By matching these
two fields, each car in the car table is related to one or more
service jobs in the service table, and each service job in the
service table is related to only one car.
Service Table
Primary Key
A primary key is
a field whose
values are
guaranteed to be
non-empty,
unchanging, and
unique for the
first table in your
relationship.
13
Service
Date
Type of
Service
Technician
ID
Hours
Worked
Job
ID
35672897
2/5/14
Oil Change
123
35672897
5/20/14
Tuneup
456
35672897
8/3/14
Brake Job
789
87390286
3/30/14
10K Service
257
Car ID
Car Table
Owner
Make
Model
Year
Car ID
Joseph
Toyota
Prius
2014
35672897
87390286
9/17/14
Smog Check
942
Mary
Ford
Explorer
2009
87390286
87390286
4/23/15
Oil Change
715
Dan
..
.
Honda
..
.
Accord
..
.
2005
..
.
54289318
..
.
54289318
6/18/14
Oil Change
142
54289318
..
.
1/8/15
..
.
Oil Change
..
.
3
..
.
5
..
.
736
..
.
About
Relationships
Creating
Relationships
Quick Start
Training Guide
Types of
Relationships
Foreign Key
A foreign key is a
field in the second
table. Its values are
populated so that
they match to values
in the primary key.
Its called foreign
because its value
originates in another
table.
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Relationships
Now lets look at our example with Jennifer. It has a similar
structure to the preceding examples:
-
Customer Table
First
Last
Company
Street
Customer ID
Dave
Jones
103
Sue
Smith
Rankin Studios
Tom
Chase
XYZ Global
John
..
.
White
..
.
Iris Designs
..
.
Customer ID
Category
Item
Serial Number
Cost
103
Telephone
VOIP
779182737S
75
110
103
Computers
15
BN299765G
1000
109
110
Appliances
Espresso
2267155789A
100
102
..
.
110
Office
Desk
5582939281G
50
110
Cameras
Digital
1X2U9H28JS
300
110
Computers
Desktop
ZA9982938829
1200
109
Office
Desk
5575372783E
50
109
Computers
..
.
Desktop
..
.
ZA9962536488
..
.
1200
..
.
..
.
14
About
Relationships
Creating
Relationships
Types of
Relationships
Design
data model
15
Import data
Set up security
Appendix A
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Layouts
Layouts are the building blocks of the user interface, allowing the user to view and interact with the data. The data may be displayed as
a form, where only one record shown at a time, or as a list or table, where multiple records are shown at once. In the illustration below,
the data is being displayed as a form. As the user moves from record to record, the data displayed on the form changes.
Records
Imported or
entered data
will fill tables
for use
in layouts.
Table
F1
Records
in a table
16
Adding and
Viewing Data
Each form
layout displays
some of the
fields for each
record.
Entering Data
in Records
F2
FN
FN
FN
FN
FN
FN
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Layouts
Layouts can be viewed in three different ways. Table View displays one or more records at a time, similar to a spreadsheet. List View
displays one or more records as a list. It provides more formatting options than Table View. Form View displays one record at a time and
provides the same formatting options as List View.
Layout views from Jennifers customer table
Table View
List View
First
Last
Company
Street
Dave
Jones
West Side
Antiques
Dave
Sue
Sue
Smith
Rankin Studios
Tom
Chase
XYZ Global
John
White
Iris Designs
17
Smith
West Side
Antiques
Rankin Studios
45 Loma Linda
St.
Jones
Form View
Dave Jones
500 W. Main St.
Paso Robles, CA
Tom
Chase
XYZ Global
45 Loma Linda
St.
Owner
John
White
Iris Designs
800-555-1268
Design user
interface
18
Import data
Set up security
Appendix A
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
19
Quickly Create
FileMaker Solutions
Quick Start
Training Guide
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Layout Assistance
When you create a layout, FileMaker helps you choose a layout template
appropriate for the device where the layout will be viewed. There are templates for
computers (desktops and laptops), iOS devices, and printers. Most Starter
Solutions include layouts for mobile devices as well.
20
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Themes
Another great feature FileMaker offers is the ability to choose themes for your layouts.
Themes help create a visually attractive user interface by providing consistent styles
for buttons, fields, background and other objects on a layout. They apply pre-defined
fonts, sizes, colors, and other styling to your layout to give the user interface a
professional and attractive look and feel.
21
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Reports
You may want to see data in other formats
such as a dashboard or a report. See
Appendix A for more layout details.
22
Dashboard
Report
Import
data
23
Import data
Set up security
Appendix A
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
24
Use an example
Importing is as easy as
drag and drop.
Creating a FileMaker
File from a Starter Solution
Creating a
FileMaker File
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Starter Solutions
Start from a FileMaker Starter Solution available in the File Menu.
-
Projects
Estimates
Event Management
Resource Scheduling
Contacts
Meetings
Assets
Expense Reports
Content Management
Product Catalog
Invoices
Personnel Records
Inventory
Time Billings
Tasks
Research Notes
25
Creating a FileMaker
File from a Starter Solution
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Import data
When you import data, you are bringing
data from another source (usually a file)
into a FileMaker file. You can import data
from:
-
Database
External Source
26
Quick Start
Training Guide
Integrate
other data
sources
27
Import data
Set up security
Appendix A
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Real-time integration
Table 2
MySQL, Oracle or
Microsoft SQL Server
FileMaker Pro Database
28
Introduction to
External SQL Sources
Accessing External
Data SQL Sources
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Customer Table
External Database
Customer Layout
(Form View)
FileMaker Pro Database
29
Introduction to
External SQL Sources
FileMaker Pro
populates
the layout.
Accessing External
Data SQL Sources
ODBC/JDBC
Integration Overview
Create
business logic
and design
workflow
30
Import data
Set up security
Appendix A
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
A workflow consists of the tasks, procedural steps, required input and output
information, and tools needed for each step of that procedure
31
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Business automation
When building your custom app, its likely that youll need to automate some aspect of
your workflow. FileMaker provides an intuitive scripting language to help with this. This
language is easy to read and write, while also providing considerable power and
allowing you to model complex scenarios.
In addition to the scripting language, FileMaker includes calculation formulas, functions,
and other useful tools for streamlining processes.
32
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Entering a layout
Opening a file
33
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Script Workspace
Script Workspace
34
Right side
shows a list
of script
steps that
you can use
to build a
script
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Automating a task
Jennifer needs to enter information on new customers. Here is an example of how a script can meet her needs:
35
What happens:
Step 1: FileMaker Pro goes to the layout called
Customer Details.
Step 2: A new record is created.
Step 3: The cursor moves to a field called
Company.
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Automating a task
Jennifer also wants to automate the task of generating reports. Heres what she does:
36
What happens:
Step 1: The chart layout is displayed.
Step 2: Print settings are established (in this
case, landscape).
Step 3: A temporary file path is generated to
establish a place to store the PDF file.
Step 4: The PDF file is generated and attached
to an email.
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Calculations
A calculation uses a formula to generate a result. Sometimes the result is displayed on
the screen much as formulas are displayed in a spreadsheet. Other times, the result is
used by a script to make decisions about what the script does next. The use of
calculations in FileMaker software is similar to the use of formulas in spreadsheets.
Calculations can used to populate fields, provide tooltip messages, set up dynamic
emails, and for many other purposes.
37
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Business Intelligence
Jennifer wants to know the total cost of equipment. She is also interested in metrics like
the asset category, the asset purchase date, the rental agreement starting date, and the
individual asset cost for inventory planning purposes. Developing a custom app using
the FileMaker Platform can help Jennifer make better business decisions by monitoring
these specific metrics.
FileMaker Pro can present this information in the form of reports or charts for easy
visualization as shown in the next few pages.
38
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Calculations
For Jennifers app, we can define two calculations, one to find the number of days an asset is leased, and the other to find the total cost
of a customers assets. These metrics can be tracked over time to help Jennifer make better business decisions.
39
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Data visualization
FileMaker software can generate
hierarchical reports that summarize
groups of records.
The assets on this report have been
grouped into appliances, cameras,
computers, office furniture and telephone
records for easy viewing of costs.
40
FileMaker Report
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Data visualization
The same asset data can be presented as
a pie chart for easy visualization.
41
FileMaker Report
Set up
security
42
Import data
Set up security
Appendix A
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Role
Executive
Data-entry employee
Field employee
Executive report
Data-entry form
Layout
The executive has access to all three layouts, the data-entry employee has
access to only one layout, and the field employee has access to two layouts.
43
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
44
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
45
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Active Directory
Open Directory
External Data
Sources for accessing
ODBC data
46
FileMaker
Server
LAN
WiFi
3G/4G
WAN
tes
a
d
u
ps
Ap
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
47
FileMaker Security
Guide
Test your
app
48
Import data
Set up security
Appendix A
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Users
Implement users
feedback
49
Appendix A
50
Import data
Set up security
Appendix A
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Form View
List View
51
Table View
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
52
Mode
Browse
Find
Preview
Layout
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Browse Mode
Layout Mode
Preview Mode
53
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
Layout parts
A layout is divided into various parts. The
most commonly used ones include:
-
Header
Body
Footer
54
Header
Body
Footer
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
55
The steps to building a custom app Learn about databases Design data model Design user interface Import data Integrate other data sources Create business logic and design workflow Set up security Test your app Appendix A
56
Field Picker
Deploy
Your step-by-step guide to successfully deploying your FileMaker app.