Common jig type properties
Certain properties are shared across all jig types, ensuring consistency and flexibility in configuration. These common properties allow you to define behaviors, appearance, and functionality that apply universally, regardless of the specific jig type being used. This simplifies the setup process and helps maintain uniformity across different jigs.
These common properties include:
badges
icons
isSearchable
filter
Home button visibility
bottomSheet (Beta)
The bottomSheet element slides up from the bottom of the screen to present additional content, actions, or contextual information. See bottomSheet (Beta) for more information.
Home button visibility
By default, the home button is visible on all jigs except the Home Hub. You can hide the home button on a jig if needed by setting the isHomeButtonVisible property to false. You can even dynamically show or hide the home button.

title: Global Eats
type: jig.default
# Home button is visible by default,
# set to false, hides the button on the jig.
# Use expressions to dynamically show or hide the home button.
isHomeButtonVisible: falseConsiderations:
In some cases, keeping the home button visible can create extra spacing at the bottom of the jig or cause the home button to shift above or below other components.
Hiding the home button when using the chat component ensures optimal use of the full screen for chat messages. If not hidden, the message field and send button are pushed up, and the home button appears beneath them.
When using two primary actions on a jig with the home button visible, results in the home button displaying above the action bar.
Similarly, when using the summary component without hiding the home button, the home button is displayed above the summary.
Using bottomSheet (Beta) or go-to with
isModal, the modal overlays the home button on the main jig.
isSearchable
Setting the isSearchable property to true adds a search field at the top of the screen. By default screens display without search fields. The property is set at the root level of the jig. The property can be used together with the filter property for enhanced data filtering, the search field finds the relevant data in the active tab.
title: Search List (Dynamic)
description: A dynamic list displaying search functionality
type: jig.list
icon: notes-paper-approve
# Add the isSearchable property to the jig, this will add the search field
# to the top of the jig.
isSearchable: trueApplies to the following jig types:
list
default
grid
Requirements:
Datasource Integration: The search functionality requires a datasource configuration.
QueryParameters Binding: The datasource query must include a search parameter binding.
State Access: The search text is accessible via
[email protected]
datasources:
cleaning-services-dynamic:
type: datasource.sqlite
options:
provider: DATA_PROVIDER_DYNAMIC
entities:
- entity: default/cleaning-services
query: |
SELECT
id,
'$.area',
'$.description',
'$.hourlyrate',
'$.illustration',
'$.image',
'$.indoor',
'$.onceoffrate',
'$.service',
'$.time'
FROM [default/cleaning-services]
WHERE '$.service' LIKE '%'||@search||'%' OR @search IS NULL
queryParameters:
# Add the search parameter to the datasource query.
search: [email protected]filter
The filter property creates tabbed filter options to categorize and filter data.
Applies to the following jig types:
list
default
grid
Requirements:
Data Array: Must contain an array of filter objects with
titleandvalueproperties.Title Property: The display name shown in the filter tab.
Value Property: The actual filter value used in datasource queries.
Datasource Integration: Requires corresponding datasource query parameter binding.
Simple Values: Recommended to use simple values like strings or numbers (e.g., 'today', '7d', '14d') rather than objects for strict equality checks.
Optional Properties:
initialValue: Sets which filter tab is selected by default when the jig opens.
State Access: To access the filter state uses: [email protected]
title: Filter List (Dynamic)
description: A dynamic list displaying filter options
type: jig.list
# Add the filter tab names and values.
filter:
data:
- title: All
value: ''
- title: Indoor
value: "TRUE"
- title: Outdoor
value: "FALSE"datasources:
cleaning-services-dynamic:
type: datasource.sqlite
options:
provider: DATA_PROVIDER_DYNAMIC
entities:
- entity: default/cleaning-services
query: |
SELECT
id,
'$.area',
'$.description',
'$.hourlyrate',
'$.illustration',
'$.image',
'$.indoor',
'$.onceoffrate',
'$.service',
'$.time'
FROM [default/cleaning-services]
WHERE '$.indoor' LIKE @filter or @filter IS NULL
# Add the filter state to access the filter data
queryParameters:
filter: [email protected]Last updated
Was this helpful?