Search Attribute
Description:
Allowed Parent Components:
Smart Search
Allowed Child Components:
Trigger Before Render
Trigger On Change
Properties
➤ Enable Condition
Specify an expression that should be evaluated to a boolean [e.g. #{dsAlias.attr1} == 'X' && #{dsAlias.attr2} > 1]. If no expression is specified, it will be considered as true.
Allowed Values: An expression which should return boolean after evaluation
➤ Attribute Code
Enter the attribute code of the datasource that can be selected by the user from the filter list in the smart search.
Allowed Values: Free text field
➤ Label
Enter the text for the attribute code to be displayed in the filter list.
Allowed Values: Free text field
➤ Data Type
Choose the data type of the attribute. On the basis of the selected data type, the HTML input field will be displayed in the search.
Allowed Values:
Text
Number
Date
Select
➤ Default Text Operator
Choose an option to apply the default operator in the search when this attribute is selected.
Allowed Values:
{"value":"eq","label":"is"}
{"value":"neq","label":"is not"}
{"value":"NULL","label":"is empty"}
{"value":"NOTNULL","label":"is not empty"}
{"value":"nct","label":"not contains"}
{"value":"LIKE","label":"contains"}
{"value":"SW","label":"starts with"}
{"value":"EW","label":"ends with"}
{"value":"hasAll","label":"has all of the words"}
{"value":"hasAny","label":"has any of the words"}
{"value":"notAny","label":"does not have any of the words"}
{"value":"in","label":"in"}
{"value":"notIn","label":"not in"}
{"value":"SOUNDEX","label":"sounds like"}
➤ Default Number Operator
Choose an option to apply the default operator in the search when this attribute is selected.
Allowed Values:
{"value":"eq","label":"is"}
{"value":"ne","label":"is not"}
{"value":"NULL","label":"is empty"}
{"value":"NOTNULL","label":"is not empty"}
{"value":"gt","label":"greater than"}
{"value":"gte","label":"greater than or equals"}
{"value":"lt","label":"less than"}
{"value":"lte","label":"less than or equals"}
{"value":"BETWEEN","label":"between"}
{"value":"in","label":"in"}
{"value":"notIn","label":"not in"}
➤ Default Date Operator
Choose an option to apply the default operator in the search when this attribute is selected
Allowed Values:
{"value":"on","label":"is on"}
{"value":"neq","label":"is not on"}
{"value":"NULL","label":"is empty"}
{"value":"NOTNULL","label":"is not empty"}
{"value":"after","label":"is after"}
{"value":"gte","label":"is on or after"}
{"value":"before","label":"is before"}
{"value":"lte","label":"is on or before"}
{"value":"BETWEEN","label":"between"}
{"value":"TODAY","label":"is today"}
{"value":"YESTERDAY","label":"is yesterday"}
{"value":"LAST7DAYS","label":"since last 7 Days"}
{"value":"LAST14DAYS","label":"since last 14 Days"}
{"value":"LAST28DAYS","label":"since last 28 Days"}
{"value":"THISWEEK","label":"is this Week"}
{"value":"THISMONTH","label":"is this Month"}
{"value":"THISQUATER","label":"is this Quater"}
{"value":"THISYEAR","label":"is this Year"}
➤ Default Select Operator
Choose an option to apply the default operator in the search when this attribute is selected
Allowed Values:
{"value":"eq","label":"is"}
{"value":"neq","label":"is not"}
{"value":"in","label":"any of"}
{"value":"NULL","label":"is empty"}
{"value":"NOTNULL","label":"is not empty"}
➤ Simple Values
Provide comma seperated values e.g. Blue, Black, Green or value:label pairs e.g. BLUE:Blue, BLACK:Black, G:Green
Allowed Values: An expression which should return string after evaluation
➤ Format
Allowed Values: Free text field
➤ Use Server Timezone
Check this prop if this date should not be converted to browser's timezone. Also make sure the attribute type is set to 'String Date & Time 2' on the server side DataSource definition.
Allowed Values: Yes/No
➤ Time Select
Select this to show time along with the date.
Allowed Values:
None
Inline
Popup
➤ Time Format
Select a time format. e.g. HH:mm, hh:mm a, HH:mm:ss
Allowed Values: Free text field
➤ Time Intervals
Provide time intervals. e.g. 15 or 30, between 0 and 24 * 60.
Allowed Values: Any number value
➤ Min Time
Provide the min time below which the time cannot be selected or entered.
Allowed Values: Free text field
➤ Max Time
Provide the max time above which the time cannot be selected or entered.
Allowed Values: Free text field
➤ DataSource
Select a datasource from the list.
Allowed Values: Select a datasource from the list.
➤ Data Source Alias
Allowed Values: Free text field
➤ Default Where Clause
Allowed Values: Free text field
➤ Max Rows
Allowed Values: Any number value
➤ Order By Clause
e.g. #firstAttr#, #secondAttr# DESC
Allowed Values: Free text field
➤ Value Attribute
Choose an attribute that needs to be stored in the database.
Allowed Values: Choose an attribute that needs to be stored in the database.
➤ Display Attribute
Choose an attribute that needs to be visible to the user.
Allowed Values: Choose an attribute that needs to be visible to the user.
➤ Remote Filter
Allowed Values: Yes/No
➤ Cache Results
With remote filter checked, check this if you want the system to cache data fetched for each filter to avoid re-query if the user types the same filter again
Allowed Values: Yes/No
➤ Do Not Prefetch
Check this to programmatically control this Select Query
Allowed Values: Yes/No
Last updated