Search |
The SearchFilter type exposes the following members.
Name | Description | |
---|---|---|
![]() | AdditionalSearchFilters | List of additional searchfilters which doesn't bind on one particular element. With multiple additional searchfilters, they will be wrapped in parantheses and applition the AdditionalSearchFilterOperator |
![]() | AdditionalSearchFiltersOperator | Specified operator to use in SQL statement betweeen each AdditionalSearchFilter. |
![]() | ClientIds | Parameter can be used to request specific data from ids, if the list is empty this parameter will be ignored. If this value is provided Filters, FilterValues and AddtionalSearchFilters will be ignored. |
![]() | DateEnd |
Maximum date to return data for. This parameter will only be used if DateStart is also provided. This should be null if not specified. |
![]() | DateStart |
Minimum date to return data for. This parameter will only be used if DateEnd is also provided. |
![]() | ExcludeSubmittedIds | |
![]() | Filters | |
![]() | FilterValues |
A list of filter values. Depending on the corresponding form element type various filter formats should be assigned to each list item. TextBoxNumeric element can be filtered either by providing a specific number (231 or 823.12 etc.), a range ([3;10] etc.) or a create/less than value (>5 or <100 etc.). There can also be performed an equals filtering on multiple values by submitting a List of integers. CheckBox and ToggleSwitch elements should be filtered by a bool value (true/false). DatePicker and DateTimePicker elements should be filtered by using a json encoded object with the following format: { "start" : startDateTimeObject, "end" : endDateTimeObject } example: { "start" : "2013-01-10T00:00:00.000Z", "end" : "2013-01-11T00:00:00.000Z" } TimePicker elements should be filtered similar to DatePicker and DateTimePicker but the start and end properties should only contain the time. example: { "start" : "10:58:03", "end" : "12:58:05" } TextBoxText can be filtered by a single value (performs a LIKE search) or multiple values by making an array (performing a EQUALS search). SubForms can be filtered by json serializing a SearchFilter object All other form element types will be filtered similar to how username is filtered (that is - "like string"). |
![]() | GlobalFilter | A filter that will be applied to all text, date, datetime, time and number columns aswell as UserName and ClientSubmittedDate. |
![]() | Ids | Parameter can be used to request specific data from ids, if the list is empty this parameter will be ignored. If this value is provided Filters, FilterValues and AddtionalSearchFilters will be ignored. |
![]() | Operator | Specified operator to use in SQL statement. (AND or OR) |
![]() | Username | Filters the result by username. This value can be a either a partial or full username (etc. "sj" will return all rows submitted by "sje"). |