List pane
The List pane is an area where your forms are listed. The Search & Lister component provides various configuration options that you can use to control the display of forms in the List pane.
To configure the List pane, tap the Search and Lister component and then tap
Figure: List pane in edit mode
The Edit dialog includes several tabs that provide configuration options described in the table below. Tap OK to save the configuration, when done.
Search Pane
The Search pane lets you add the Date Predicate, Full Text Predicate, Properties Predicate, and Tags Predicate components from the Document Services Predicates category in AEM Sidekick. These components implement the search functionality for users to perform search on the listed forms.
Tip: You can control the list of forms displayed on your forms portal based on a preset criteria and hide the search functionality for end users. To control the list of forms, use the Predicate components to apply search filters. You can also specify the default filter values and disable the search from the Display tab of the Edit Component dialog.
Figure: Search Panel with Date, Full Text, Properties, and Tags Predicate
Date Predicate
The Date Predicate component, when added, enables search on the listed forms that were modified during a specified duration.
To configure the Date Predicate component:
-
Tap the component and then tap
-
Specify the following:
- Type: The only option available is Last Modified Date.
- Text: Label or caption for the Date Predicate Component. The default value is Last Modified Date.
- Start Date Label: Label or caption of start date field.
- End Date Label: Label or caption for end date field.
- Hide: To enforce default date filter to list forms.
-
Tap OK.
Full Text Predicate
The Full Text Predicate component implements full text search on form data, such as name and description. Users can search any text string to returns forms that contain the text in their name or description.
To configure the Full Text Predicate component:
- Tap the component and then tap
- Specify the title in the Main Title field.
- Tap Ok.
Properties Predicate
The Properties Predicate component implements searching of forms based on form properties, such as title, author and description.
To configure the Properties Predicate component:
-
Tap the component and then tap
-
In the General tab, specify the search label. The default value is Properties.
-
In the Options tab, tap Add Item.
-
Select a property from the drop-down list and specify a search label for it in the field below the drop-down list.
-
Repeat step 4 to add more properties. You can also specify a default filter value to list forms based on the specified criteria and hide the property for search by end users. Select the Hide checkbox for a property and specify the default filter value.
For example, if you want to display forms that contain “Travel” in their titles, select Hide next to the Title property. In addition, specify Travel in default filter value text box.
-
Tap OK.
Tags Predicate
The Tags Predicate component implements searching of forms based on tags defined in Forms Manager.
To configure the Tags Predicate component:
- Tap the component and then tap
- Tap the down-arrow button next to the Tags field.
- Select appropriate tags.
- Tap OK.
The selected tags appear in the Search pane along with the check boxes for selection. Users can now narrow down their search based on the tags.
List forms on a page
To list forms on a page, add the Search & Lister Component to the page and configure the List Pane. To enable the end users to search forms with date, text, and tags, add a Search Pane component.
To link a form from anywhere on the page, use the Link component. For more information about link component, see Embedding link component in a page.
To list the forms that are in a draft state and the forms which are already submitted, use the Drafts and Submissions component. For more information, see Customizing Drafts and Submissions component.
Mobile device friendliness
Forms Portal Search & Lister component is mobile device friendly and adapts accordingly. All three default views: Grid, Card, Panel relayouts according to the device in which site is opened provided with the fact that web page also adapts. The simple fact is that, Search & Lister is a component only and does not govern page level styling.
The following image depicts the Search & Lister component when opened on a mobile device:
Figure: Search & Lister component