Difference between revisions of "Instant Search"

From Lianjapedia
Jump to: navigation, search
(Created page with "''Under Construction'' ==Overview== '''Instant Search''' allows the user to search the data on the Page based on the active search field (Field Attributes|Form Section Fiel...")
 
Line 4: Line 4:
 
'''Instant Search''' allows the user to search the data on the Page based on the active search field ([[Field Attributes|Form Section Field]] or [[Advanced Canvas Control Attributes|Canvas Section Advanced Control]]).
 
'''Instant Search''' allows the user to search the data on the Page based on the active search field ([[Field Attributes|Form Section Field]] or [[Advanced Canvas Control Attributes|Canvas Section Advanced Control]]).
  
As the user types in the search box an index based search is performed on the search field and the Page is updated to show the first matching record.  The current search and the number of matching records is also displayed at the top of the search field's Section.
+
As the user types in the search box an index based search is performed on the search field and the data updated to show the first matching record.  The current search and the number of matching records is also displayed at the top of the search field's Section.
  
 
==Defining the search field==
 
==Defining the search field==

Revision as of 09:15, 28 April 2016

Under Construction

Overview

Instant Search allows the user to search the data on the Page based on the active search field (Form Section Field or Canvas Section Advanced Control).

As the user types in the search box an index based search is performed on the search field and the data updated to show the first matching record. The current search and the number of matching records is also displayed at the top of the search field's Section.

Defining the search field

The search field is defined in the Form Section Field or [[Advanced Canvas Control Attributes|Canvas Section Advanced Control] attributes.

Search field

Checking Search field (True) sets that field as the Section's active search field.

  • If the Section already had a search field, the previous search field will be reset.
  • On the Desktop client, the search field indicator (magnifying glass) will be displayed to the left of the field's caption unless Hide search field indicator is checked (True).
  • On the Desktop client, the records are ordered by the search field.
  • Supported on all clients.

Hide search field indicator

Checking Hide search field indicator (True) prevents the display of the indicator.

  • The indicator is available on the Desktop client only.

User selectable search field

Although only one search field can be active, multiple fields can be designated as user selectable search fields. Checking User selectable search field (True) allows the field to be selected as the active search field by clicking on its caption.

  • The search field indicator (magnifying glass) will be displayed to the left of the field's caption when it is clicked, signifying that it is the active search field.
  • Supported on the Desktop client only.

Default search field

When multiple user selectable search fields are specified, a field can have Default search field checked (True) to make it the default search field. When the App is loaded, this field will take precedence over the field with Search field checked and will be the active search field.

  • It has no effect if no field has Search field checked.
  • The records will still be ordered by the field with Search field checked.
  • Supported on the Desktop client only.

Page Attributes

The following Page Attributes also determine Instant Search behavior.

Header: Hide search box

If Hide search box is checked (True), the Page Header search box is hidden and Instant Search is not available.

  • Supported on all clients.

Header: Minimum search text length

The Minimum search text length specifies the number of characters that need to be typed in the Page Header search box before the search is made.

  • For example, if the search field in all records starts with the same 3 letter prefix, specify the Minimum search text length as 4 to start the search when 4 characters have been entered.
  • The default Minimum search text length is 1.
  • Supported on the Desktop client only. On the Web/Mobile client, the search starts from the first character entered.

Custom Delegates: Instant Search

The Page Instant Search custom delegate is called each time a printable character is typed in the search box.

  • The current search box value is passed to the delegate as a parameter.
  • On the Desktop client, if Minimum search text length is greater than 1, the custom delegate is called after the specified number of characters has been typed.
  • Supported on all clients.

Left Sidebar: Show Recent Items

If the Page has an active search field and Show Recent Items is checked (True), a record's search field value will be added to the 'Recently Viewed' and 'Recently Modified' Left Sidebar lists when it is read or updated respectively.

  • These lists are not updated if there is no active search field.
  • The Recently viewed items and Recently modified items Page attributes determin how many items are listed.
  • Supported on all clients.