Note: Nintex Apps data centers are located in West US and Australia (AUS). In-region processing of Nintex Apps data is only available in these regions.
List
A data component, the List displays a roster of record items, which can be formatted in a template using merge syntax to control how the items render. This component allows end users to employ on-click actions from the List items to launch actions in other components on the page.
Using the List component
While typically employed with the Action Framework to update Page Includes on the page, the List can be used for a variety of purposes.
One common use case for this component is to put a List in a Responsive Grid section that lists records by name. When a name is selected, data from a different Nintex Apps page is displayed via a Page Include (in another section of the grid).
Note: The content below assumes you have a Nintex Apps page and at least one working model.
Add a List component to the page, then:
- Ensure that the List is accessing the correct model and name the List ( if desired ). ( General tab)
- Determine what items display on the list by clicking Add fields on the component.
- Choose whether to include a search box. ( Search tab)
- Give end users the ability to sort records based on field values. ( Sort tab)
- Add Interactions that allow users to launch action when they select a List item.
Every List includes a header and a footer. These sections can include:
- Header
- the List's title
- a search box
- a button for opening a sort builder
- filters
- mass action buttons
- Footer
- an indicator of which set of rows are showing
The component's header and footer can be hidden using properties in the General tab.
Add items to a List
The power of the List component is in the items you choose to place on that List. Nintex Apps gives you a lot of options from the Add feature and Add fields dropdown menus on the List component.
Customize the List display with any of the items from the Add features dropdown menu.
- Row Actions: Record-level actions represented by row buttons that use a record on the component as the context.
- Mass Actions: Enables the ability to select one or more records. Each selected row becomes context for the mass action.
- List filter: Add filters to the header of the List component.
Customize the List display with any of the items from the Add fields dropdown menu.
- Model fields: Displays a field's name on the list.
- Template: Allows builders to add multiple field names (along with punctuation or symbols such as "+") and display on the List.
- Avatar: Displays a small "avatar" image on the List.
- Icon: Displays an icon on the list.
- Image: Displays an image on the list.
When multiple items are added to the List, they are displayed in the order they appear in the Page Designer. To change the order, drag and drop the item by clicking on the Item's column header.
In addition to adding multiple items to the List, you can also add fields to any item creating a "column" within the List:
- From the item's column header, click Add fields.
Add Button Group
From the Add fields dropdown in a column, add a button group directly into the List component.
When you add buttons to the List component, these buttons have their own properties. All List button properties are the same as those for Ink Button Set buttons.
Configure List items
Configure the item's properties (including formatting a Template or selecting the image source for Avatars, Icons, and Images) by clicking the Item's name to open the Field properties pane.
Configure the layout of individual item columns in the List by clicking the item's column header to open the Column properties pane.
Component actions
Component actions are available using Run component action.
Go to page
Navigates to the Target page in the component.
- Target page:
- First page
- Last page
- Previous page
- Next page
Open all drawers
Opens drawers for all rows in the selected List.
Close all drawers
Closes drawers for all rows in the selected List.
Properties
Component properties
When you add a List to the page, there are several properties you can modify:
-
Model: The List will draw and display data from this model.
-
Title: The title that displays above the List. (If left blank, the List does not have a title.) Can also contain rendered HTML if Allow HTML in title is enabled.
-
Allow HTML in title: Determines HTML rendering behavior for Title contents. When enabled, any HTML syntax will be rendered. When disabled, HTML syntax is displayed as plain text. For example:
Enabled:
This text is importantDisabled:
<strong>This text is important</strong>
-
Visible rows: Controls how many rows are visible. This property's value can be one of the listed choices (which includes showing all available rows) or a custom number. The default setting is 10 rows.
This choice is displayed at the bottom of the component at runtime and can be overridden by the end users.
- 5
- 10
- 25
- 50
- Show All
This choice is displayed at the bottom of the component at runtime and can be overridden by the end users.
- 5
- 10
- 25
- 50
- Show All
Note: Searches, sorting, and filters will query the entire set of records—even the rows that haven't been loaded into the List yet.
-
Show page size dropdown: Checked by default, this displays a page size indicator at the bottom of the list. This indicator allows users to choose to display more or fewer records per page, overriding the Visible Rows setting.
-
Reset pagination on query: Click to reset to the first page after any edits or queries to the model.
-
Row actions on left: By default, Row Actions are displayed on the right. If checked, they will be displayed on the left.
-
Show "Load more" button: If the Max # of records property on the model is set to a limiting number, checking this allows the end user to load additional records.
-
Show header: If checked, the List header will display.
-
Show footer: If checked, the List footer will display.
Note: Show header/footer supersedes any settings for individual elements in the header or footer. For example, if Show search box is checked in the Search tab, but Show header is also checked, the search box (which sits within the header) will not display because the header is hidden.
In this tab are properties that control whether or not you have a search box, and when search terms and conditions are applied.
In this tab are properties that control whether or not you have a search box, and when search terms and conditions are applied.
-
Filter & Search Behavior:
-
Apply filters and search immediately: If checked, all changes made to filters, or any text typed into the search bar, will be applied immediately. If unchecked, Nintex Apps displays the Apply and Cancel buttons. The changes will not be applied until the end user selects Apply.
Note: This is particularly useful when employing multiple filter criteria.
-
-
Search Properties:
-
Show search box: If checked, Nintex Apps displays a search box above the component.
-
Search method: Determines if a search will query the server and filter its data, or filter local data on the client.
-
Server (default): Returns search results from all data on the server.
-
Client: Returns search results from only the data that is currently loaded on the page. Large data sets may require lengthy time to filter. If end users commonly need to sort only the data they have loaded within the page—as opposed to every record on the server—this property may speed the filter process.
Important: If the server contains a large data set not yet loaded into the page, but Search Method is set to Client, the filter may return incomplete results because it's filtering incomplete data. This may result in unexpected omissions.
-
-
-
Search results: Determines which results are displayed based on the end user's search query.
-
Match exactly: Results are only shown for records that contain the search term verbatim.
If the user searches for George Washington, only the records containing George Washington exactly as written—with no other terms in between—would be displayed.
-
Contain all terms: Results are shown for records that contain all of the terms in the query, even if they may appear in a different order or disconnected from each other.
If the user searches for George Washington, any record containing George and Washington would be displayed, as long as both terms were anywhere within the record.
-
Contain at least one term: Results are shown for records that contain any of the terms in the query.
If the user searches for George Washington, any record containing George or Washington would be displayed.
-
Specifies which fields will be searched against from the component's search bar.
-
Search fields: Specifies which fields will be searched against from the component's search bar.
Note:Depending on the connection used for the model attached to the component, this property may not be available.
-
Field: Nintex Apps searches on searchable fields by default. Search can be narrowed to individual fields by clicking Add new Search Field, and then using the field picker to select the field.
Note:- ( Salesforce connections only ) SOQL can search Picklist fields and Reference fields, but not Long Text fields.
- You can add multiple search fields.
-
Search operator: Select from the following logical operators:
- =
- starts with
- Contains
-
By default, Salesforce Objects use SOQL. To ensure proper functionality, enable the Allow Search property on any Salesforce objects to be included in the search.
For more information on using these search options with Salesforce, check out Salesforce's SOQL and SOSL Reference Guide.
Sort properties
These properties determine the appearance and behavior of the Sort Builder.
- Show sort builder: Check to display the Sort Builder in the component at runtime.
- Button icon: The icon to display next to the label. Click the icon picker to select a different icon.
- Button label: The label text that appears on the Sort Builder at runtime. Change the text to match what you want to say to your end users.
- Sort client-side: Check to only sort on field values that are loaded into the page at the time the sort is applied. This means that the sort will be applied to data in the model, not to data still on the server.
Click
Add interaction then select:-
Action type: Determines the type of user interaction that triggers the action script.
-
After-click state: Determines how a List item behaves after it has been selected.
- No change: The item (despite being clicked) displays as unselected.
- Clicked item displays as selected: The item displays as selected in the List.
In the
More Options menu on the selected interaction, click Add action, then edit the Action Type:- Action Type: Use the Action Framework to launch actions.
Using a Page Include with your List? There's a specific action for that: Run component > Page Include.
- Nintex Apps page: The name of the associated page.
- Page Include component Id: Click to select the Page Include from the list. ( If you have given the Page Include a unique name, it will appear here ). When a Page Include is selected, a flashing yellow outline will indicate the chosen item within the canvas.
- Query string: Use id={{Id}}. This tells the Page Include to load the record whose ID matches the ID of the record the end user clicked.
-
Style variant: Style variants are created and set in the Design System Studio. Some components have pre-defined variants for a specific aspect of a component's style. Also, Nintex Apps builders can style and customize elements to create their own themes within the DSS. These themes will dynamically populate as selectable values in the Style Variant dropdown menu.
Note:To refresh available style variant options, click
Refresh style variants.This is useful for when changes to the design system (like style variants or variable options) have been made in another browser window or by another user.
-
Margin: Sets a component's margin (the space around it) relative to other components on the page.
- To set margins for all sides, click All.
- To set margins for each side individually, click Separate.
Margin values can be set to any configured spacing variable for the page's design system. Margin cannot be set an arbitrary value; it must use a design system variable.
Standard display logic options are available to display or hide the component or feature.
Nested elements
When you add items to a List, there are several properties you can modify:
Click the item (Field, Template, Avatar, Icon, or Image) element to configure the following options:
- Width behavior: Determines the way items fill the List.
- Fill: Allots a percentage of the space to the selected item, based on the fill ratio.
- Fill Ratio: This sets the amount of space for this item relative to other items in the List. For example, a flex ratio of 2 will be double the width of an item with a flex ratio of 1.
- Fixed: Allots a fixed amount of the space to the selected item, based on the Width settings.
- Width
- Extra Small
- Small ( default )
- Medium
- Large
- Extra Large
- Custom
- Custom width amount: This can be specified using px, em, %, vh, or vw measurements.
- Width
- Fill: Allots a percentage of the space to the selected item, based on the fill ratio.
Click the item (Field, Template) element to configure the following options:
-
Type:
- Field: Uses the field Id, i.e. {{Name}}
- Field label: Uses the plain language field name, ie., Account Name.
- Template: Opens the Template property field.
- Template: The fields (selected using the field picker) to display in the queue.
-
Display style override: By default, any additional fields added to an item use the default text styling. To override that, select one of the following additional style options (all of which are configured in the Design System Studio )
- None
- Style 1
- Style 2
- Style 3
-
Field: The field to use for the list item. Select from the picklist.
Click the item (Avatar, Icon, or Image) element to configure the following options:
-
Style variant: The format of the Avatar
- Default (This is set in the Design System Studio )
- Circular
- Square
-
Image URL: The URL for the image to be used as the Avatar. Or, pick an Image field from the picklist.
-
Icon: The image to be used as the icon. Select from the picklist.
-
Alternate text: Add descriptive text about the image that can be used by access/assistive technologies such as screen readers and conforms to Web Accessibility Initiative—Accessible Rich Internet Applications ( WAI-ARIA ) specifications. This property can be a specific string of text, the merge variables of one or more fields, or a combination of the two. Alt text also increases a search engine's ability to index the image.
Note: If no Alternative Text is specified, access/assistive technologies will either ignore the image, or (in some cases) speak a generic label, such as "Image displayed."
-
Size: The size of the Avatar or Icon.
- X-Small
- Small
- Medium
- Large
-
Fallback type: An alternative if there is not an Avatar available.
- Text: Replacement text for the Avatar.
- Fallback text: The text to be displayed instead of the Avatar.
- Icon: Replacement text for the Avatar.
- Fallback icon: The icon to be displayed instead of the Avatar.
- Text: Replacement text for the Avatar.
General tab
Show drawer icon: Determines whether or not to display an icon next to the record. If unchecked, the drawer can be opened and closed by configuring a global action (in a Table component) or row action (in a Table or List component) to run the Open/Close A Drawer action.
Icon: Click the icon picker to select a different icon.
Configure drawer: Opens the drawer configuration modal.
Before load actions
Before Load Actions refers to actions used before a drawer is loaded. Generally, these actions are used to activate and set the values of model conditions, and to query models to ensure that the contextually-relevant data will display in the drawer.
For more information, see Add Nested Rows to your Table with Drawers