Add Boolean fields within a mobile filter
- UpdatedJan 30, 2025
- 3 minutes to read
- Yokohama
- Mobile Configuration and Navigation
Add Boolean fields, such as 'Active: Yes / No', within mobile filters, so users can more easily search for specific data and streamline their results.
Before you begin
Role required: admin
Procedure
-
Create a filter condition field.
-
In the web-based UI, enter
sys_sg_filter_condition_field.list
in the filter navigator. - Select New.
-
On the Filter Condition Field form, fill in the fields.
- Name: Enter a title for the filter condition field.
- Table: Select a table which contains the data to filter.
- Field: Select a Boolean type field from the list.
- Select Submit.
-
In the web-based UI, enter
-
Create a filter condition to group the filter condition fields. For example,
choose an incident table and a Boolean-type field to filter based on whether
incidents are active or inactive.
Note: You need this element even if only one filter condition field exists.
-
In the filter navigator, enter
sys_sg_filter_condition.list
. - Select New.
-
On the Filter Condition Form, fill in the fields.
- Name: Enter a title for the filter condition field.
- Type: Select the reference lookup icon
(
) and select
Boolean
from the list. - Label: Enter a name for the Boolean filter displayed to the user.
- Right-click in the header and select Save.
-
In the filter navigator, enter
-
Create a many-to-many relationship to connect the filter condition and the
filter condition field.
- Select the Filter Conditions Fields tab within the Filter Condition form
- Select New.
- In the Filter Condition Field field within the Filter Condition M2M Filter Condition Field form, select the reference lookup icon and select the filter condition field you created.
- Select Submit.
-
Add a filter category to display at the top of your filter screen.
-
In the filter navigator, enter
sys_sg_filter_category.list
. - Select New.
-
On the Filter Category Form, fill in the fields.
- Name: Enter a title for the filter category field.
- Label: Enter a name for the filter category to display to the user.
- Table: Select the same table you defined in the Filter Condition Field Form.
- Right-click in the header and select Save.
-
In the filter navigator, enter
-
Create a many-to-many relationship to connect the category and the filter
condition.
- Select the Filter Conditions tab within the Filter Category form.
- Select New.
- In the Filter Condition field within the Filter Category M2M Filter Condition form, select the reference lookup icon and select the filter category you created.
- Select Submit.
-
Define a filter that contains the filter category.
-
In the filter navigator, enter
sys_sg_filter.list
. - Select New in the Filters form.
- In the Name field of the Filter form, enter a name for the filter.
- Right-click in the header and select Save.
-
In the filter navigator, enter
-
Create a many-to-many relationship to connect the category and the filter.
- Select New in the Filter M2M Filter Categories area of the Filter form.
- In the Filter Category field within the Filter M2M Filter Category form, select the reference lookup icon and select the filter category you created.
- Select Submit.
-
Assign the created filter with a Boolean field, to either a list screen or a
map screen.
-
In the filter navigator, enter either
sys_sg_list_screen.list
orsys_sg_map_screen.list
. - In the Name field, search for the screen where you want to add the filter.
-
Select the required screen and in the form perform the following:
- In the Filter field, select the reference lookup icon and select the filter you created.
- Make sure that the Hide filter and sorting field are cleared.
- Select Update.
-
In the filter navigator, enter either