Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task/VTODO compatibility? #150

Open
jamesmarkus opened this issue Jul 5, 2020 · 1 comment
Open

Task/VTODO compatibility? #150

jamesmarkus opened this issue Jul 5, 2020 · 1 comment

Comments

@jamesmarkus
Copy link

I'm able to successfully load calendar event object with the loadObjects flag, but nothing turns up when querying a "task calendar".

Is there anyway to fetch VTODO objects?

@sebmennetrier
Copy link

sebmennetrier commented Oct 14, 2020

The default filter used when calendars are loaded is

[{
    type: 'comp-filter',
    attrs: { name: 'VCALENDAR' },
    children: [{
      type: 'comp-filter',
      attrs: { name: 'VEVENT' }
    }]
  }]

I successfully loaded only VTODO objects using this filter in parameter of createAccount:

[{
    type: 'comp-filter',
    attrs: { name: 'VTODO' },
}]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants