So I'm trying to develop a calendar and todo list app. I use dav.createAccount to get calendarObjects with
const accountObject = {
server: url,
xhr: xhr,
loadObjects: true,
filters: [{
type: 'comp-filter',
attrs: { name: 'VCALENDAR' }
}]
}
account = dav.createAccount(accountObject)`
which works and gives me all VEVENTS and VTODOS for all calendars. However, when I want to sync with the server to get changes, with either.
dav.syncCaldavAccount(account, { xhr: xhr })
or
dav.syncCalendar(theTodoCalendar, {
syncMethod: 'basic',
xhr: xhr
})
I get VTODOs and VEVENTs from all calendars except one. I still get all the other information on the calendar such as href and displayName, but the objects array is empty.
I can just do the same request again with another dav.CreateAccount with the same accountObject, but I'm not sure what the implications are with that and I am assuming a sync would be faster.
So I'm trying to develop a calendar and todo list app. I use dav.createAccount to get calendarObjects with
which works and gives me all VEVENTS and VTODOS for all calendars. However, when I want to sync with the server to get changes, with either.
or
I get VTODOs and VEVENTs from all calendars except one. I still get all the other information on the calendar such as
hrefanddisplayName, but theobjectsarray is empty.I can just do the same request again with another
dav.CreateAccountwith the sameaccountObject, but I'm not sure what the implications are with that and I am assuming a sync would be faster.