ReportFilterProperty Property

Limits the events returned in a Report to only those which contain a matching property name and value.

Syntax

 caldav.getReportFilterProperty([callback])
 caldav.setReportFilterProperty( reportFilterProperty, [callback])

Default Value

""

Callback

The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).

The callback for the getReportFilterProperty([callback]) method is defined as:

function(err, data){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'data' is the value returned by the method.

The callback for the setReportFilterProperty([callback]) method is defined as:

function(err){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'err' has 2 properties which hold detailed information:

err.code
err.message

Remarks

Limits the events returned in a Report to only those which contain a matching property name and value. For instance, setting the ReportFilterProperty filter to "ORGANIZER" will return only events that have an organizer specified. Setting the ReportFilterProperty filter to "ORGANIZER=mailto:JohnSmith@example.com" will return only resources where "mailto:JohnSmith@example.com" is the specified organizer. Likewise, you can retrieve a report on a single event by setting the ReportFilterProperty filter with the UID of the needed resource. For example: ReportFilterProperty = "UID=DC6C50A017428C5216A2F1CD@example.com";.

You may add multiple properties to the filter by separating them with commas. For example: "ORGANIZER=mailto:JohnSmith@example.com, STATUS=CANCELLED".

For more advanced filtering, you may specify your own ReportFilterCustomFilter.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Node.js Edition - Version 20.0 [Build 8307]