caldav::CalDAV instproc property=cs-getctag (public)

 <instance of caldav::CalDAV[i]> property=cs-getctag res node

Defined in /var/www/openacs/packages/caldav/tcl/caldav-procs.tcl

Return the CalendarServer collection change tag for a calendar query.

Parameters:
res (required)
Resource supplied by the property dispatcher.
node (required)
XML property node supplied by the property dispatcher.
Returns:
The calendar change tag, or an empty string for other query types.

Testcases:
PROPFIND_ios, PROPFIND_android, PROPFIND_thunderbird
Source code:
# Specifies a "synchronization" token used to indicate when
# the contents of a calendar or scheduling Inbox or Outbox
# collection have changed.
if {${:queryType} eq "calendar"} {
    return [:calcCtag ${:user_id}]
} else {
    return ""
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: