Configure sorting capabilities › Mobile list screen filters › List screen › Mobile screen types › Mobile screens › Mobile app components › Building mobile apps › Mobile Platform
Customize the way sorting options are displayed in your mobile filter and override the default behavior.
Before you begin
Role required: admin
About this task
Procedure
In the web-based UI, enter sys_sg_item_sorting_attribute.list in the filter navigator.
Select New.
From the Item Sorting field, select the reference lookup icon (
Image omitted: reference-lookup-icon.png
Reference lookup icon\) and select the item sorting entry to configure.
- Define attributes to configure for the selected item sorting.
| Attribute option | Action |
|---|
| Define the ascending label | - From the Name field, select the reference lookup and select
Ascending Label. - Enter a custom label in the Translatable Value field. The entered value takes priority over the value in the item sorting Label field in the Item sorting form.
- Right-click in the header and select Save.
|
| Define the descending label | - From the Name field, select the reference lookup and select
Descending Label. - Enter a custom label in the Translatable Value field. The entered value takes priority over the value in the item sorting Label field in the Item sorting form.
- Right-click in the header and select Save.
|
| Hide the ascending/descending suffix | Note: Use this option when the ascending or descending suffix is not needed, for example, "Recently added". - From the Name field, select the reference lookup and select
Hide Direction Label. - Enter the value
true in the Value field. The instance does not display the (ascending) and (descending) suffix name next to the item sorting name. - Right-click in the header and select Save.
|
| Display either ascending/descending option | - From the Name field, select the reference lookup and select
Order Options. - Perform one of the following:
- Enter the value
ascending in the Value field to display only the ascending sorting option. - Enter the value
descending in the Value field to display only the descending sorting option. - Right-click in the header and select Save.
|
- Click Submit.
Result
After configuring various sorting display options, your filter sorting configuration may look like the one in the image.
Image omitted: mobile-filter-sort-customize.png
Filter things