Element Details: DsCompareFilter
 Back


Available in: Logi Info Source code name: DsCompareFilter

DsCompareFilter adds a row filtering operation to a Dataview for DataLayer.DataServices. It removes rows which do not match the DsExpression.

Unlike DsConditionFilter which uses a DsExpression formula, DsCompareFilter uses attributes to specify the data column, operation and value.

Element Group:Filter Rows



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
CompareType
StartsWith
InList
>=
>
==
<=
<
!=
(Required) Defines the type of comparison to perform.
CompareValue
UserDefined
The value to use in the comparison. When working with dates, to ensure they are not in an ambiguous format, specify values in y-m-d order.
DataColumn
UserDefined
(Required) The name of a data field/column returned from the DataLayer.
DataType
Text
Number
DateTime
Date
Boolean
Specifies the type of data present.
ID
UserDefined
(Required) The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.
IncludeCondition
True
False
An expression that evaluates to a value of True or False. If the expression is blank, or evaluates to true the element is processed. If the expression evaluates to false, the element is skipped. Expressions should be in VBScript or JavaScript syntax. For .NET versions, the scripting language can be set in the _settings.lgx General element. For Java versions, the scripting language is always JavaScript. Typically, you would compare values using an operator, such as "@Session.value~ < 0". Use quotes when working with strings: "@Session.myValue~" == "SomeValue"



PARENT ELEMENTS

Click element to drill down for more information.

DsCondition Filter


CHILD ELEMENTS

Click element to drill down for more information.



 Back to top


 Chart Debug