About Sort Filters; Special Filter Scenarios - MACROMEDIA BREEZE 5 Integration Manual

Hide thumbs Also See for BREEZE 5:
Table of Contents

Advertisement

About sort filters

You can use a filter of the type
the following filter sorts the
sort-name=asc
The following code sorts the name field in descending order:
sort-name=desc
You can also perform primary and secondary sorts. For example, when calling the
action to list principals, you can do a primary sort on the
list
sort on the
name
name in each group).
You can do this by specifying the following parameters:
sort1-type=asc&sort2-name=desc

Special filter scenarios

The following scenarios for filtering data vary for each action. For specific information about sort
and filter options for individual actions, see their entries in
page
41.
Filtering data that has a type field
You can filter out or display only entries with a combination of matching types. For example, the
following filter displays only the types
filter-type=folder&filter-type=meeting
The following example shows all types except
filter-out-type=folder&filter-out-type=meeting
If the
field allows a
type
values. The following example shows only types that are
filter-type=null
The following example shows only types that are not
filter-out-type=null
Filtering data based on the date of a record
The following example shows all records whose date modified is between July 1 and July 10:
filter-lt-date-modified=2004-07-10T10:00:00.000-07:00&filter-gt-date-
modified=2004-07-1T10:00:00.000-07:00
to sort data in ascending and descending order. For example,
sort
field in ascending order:
name
field (this way, all principals of a specific type are grouped together and sorted by
folder
value, you might want to filter out entries with
null
type
Chapter 4, "XML API Reference," on
and
:
meeting
and
:
folder
meeting
:
null
:
null
principal-
field, and then a secondary
and non-
null
Special filter scenarios
null
23

Advertisement

Table of Contents
loading

Table of Contents