Display Address
, LatLong
, and XY
values in your templates as described in the following sections:
Display an Address in a template
Display an Address
in a template by specifying its name.
For example, if your Address
column is called Home Address
, you can display it as follows:
Name: <<[Name]>>
Address: <<[Home Address]>>
An Address
is displayed as text by default. You can create a format rule to control how the Address
is displayed.
To create a format rule to control the display of the Address
column:
- Open the AppSheet editor.
- Go to the UX > Format Rules tab.
- Click New Format Rule.
- Choose the table containing the
Address
in the For this data field. - Select the
Address
column in the Format these columns and actions field.
For example,HomeAddress
or_ComputedAddress
. - Choose one of the following for Image format under Template format:
Large: Display as 1000 x 1000 image
Medium: Display as a 600 x 600 image
Small: Display as a 200 x 200 image
Tiny: Display as a 50 x 50 image
Text: Display as a URL
Display a LatLong in a template
Display a LatLong
in a template by specifying its name.
For example, if your LatLong
column is called Location
, you can display it as follows:
Name: <<[Name]>>
Location: <<[Location]>>
A LatLong
is displayed as a Google Map by default. You can control how the LatLong
is displayed using a format rule.
To create a format rule to control how the LatLong
is displayed:
- Open the AppSheet editor.
- Go to the UX > Format Rules tab.
- Click New Format Rule.
- Choose the table containing the
LatLong
column in the For this data field. - Select the
LatLong
column name in the Format these columns and actions field. - Choose one of the following for Image format under Template format:
Large: Display as 1000 x 1000 image
Medium: Display as a 600 x 600 image
Small: Display as a 200 x 200 image
Tiny: Display as a 50 x 50 image
Text: Display as a URL
Display an XY value in a template
You can display an XY
value in a template by specifying its name. An XY is always displayed as text in templates.
For example, if your XY
column is called FloorPlan
, you can display it as follows:
Name: <<[Name]>>
Floor Plan: <<[FloorPlan]>>
Note: We hope to provide you with the option of displaying an XY
value as an image in the future.