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

Filtering based on url or other unique identifier #153

Open
MathyEM opened this issue May 30, 2021 · 0 comments
Open

Filtering based on url or other unique identifier #153

MathyEM opened this issue May 30, 2021 · 0 comments

Comments

@MathyEM
Copy link

MathyEM commented May 30, 2021

First of, this is my first expedition into the depths of CalDav and this is a really great and extensive package, and the only one that lets me get both VTODOs and VEVENTs.

I'm using the setup below to get my todo lists. But I would like to only get specific ones based on their URL. Or should I just get them all and do the processing myself?

client.createAccount({
	server: 'https://nextcloud.domain.com/remote.php/dav',
	accountType: 'caldav',
	loadObjects: true,
	filters: [{
		type: 'comp-filter',
		attrs: { name: 'VCALENDAR' },
		children: [{
			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

1 participant