Configuring the Assets search block (search bar)
The Mobile - Assets web definition's Start page includes a Search block. On this block you can make settings that affect the search bar operations for end users.
The following procedure outlines the steps for the search block's configuration.
| For generic information about configuring PSS2-based blocks, see the Web configuration user documentation in the WebHelp. |
Procedure
1. In ProCenter, go to Live app > App configuration > Assets.
2. Select the Mobile - Assets web definition you want to configure.
3. At the bottom of the web definition panel, expand the web definition's tree and select Start page > Search block.
4. On the data panel, under Search fields, indicate in the Search immediately field if you want to make search results immediately available to users upon displaying the form.
If you select No, users must click the Search button to show the results in the list block.
5. In the Placeholder field, type texts in the relevant languages to give end users context-sensitive instructions on using the search bar. The placeholder text is displayed as 'grayed out' text. Leave the field blank if you do not require a placeholder text.
6. In the Show QR code scanner field, indicate whether or not you want to display the QR scanner in the Assets module on the app.
If you select Yes, app users can scan a QR code from within the search bar in the Assets module. In addition, you must add the fields that can hold the values of this QR code to the search block. If a scanned code matches any field in the search block, the result is shown in a list on the app. See also:
7. At the bottom section of the data panel, configure the fields and field properties to be shown on the app. You can add or remove fields and change their sequence.
8. Per individual field, select a relevant search operator in the Operator field, as required.
The default value is Contains, which implies that the search results for that field should at least contain the letter(s) / word(s) typed in by the end user.
9. Click Save.
Your search block configuration is finalized and will be applied to the mobile app.