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

Export multiple calendar entries to an ICS file #1104

Open
dbuehl opened this issue Jan 21, 2024 · 3 comments
Open

Export multiple calendar entries to an ICS file #1104

dbuehl opened this issue Jan 21, 2024 · 3 comments

Comments

@dbuehl
Copy link

dbuehl commented Jan 21, 2024

Hi,

I am looking for a possibility to export multiple or all events from one calendar to one ICS file from within Group Office or via the Sabre/DAV functionality.

I did find the possibility to export single events from a calendar to ICS. I am aware of the possibility to export complete calendards to ICS from connected clients but this is not what I am looking for.

I have looked through previous issues here but found nothing similar. Should I have overlooked a respective entry here that covers my inquiry, I am grateful to be pointed into the right direction.

Haartelijk bedankt
Daniel

@michalcharvat
Copy link
Contributor

That one can be easily implemented by adding https://sabre.io/dav/ics-export-plugin/. Of course it depends how it should work in general however basic functionality is available by adding plugin to CalDAV server

@dbuehl
Copy link
Author

dbuehl commented Feb 8, 2024

Thanks Michael,

good to know. So far, I’ve been „using“ group office only, never looked under the hood. Would you please point me to the respective sabre/DAV config file and location where to add this — thank you!

Daniel

@michalcharvat
Copy link
Contributor

Open modules/caldav/calendar.php and insert those lines

$icsPlugin = new \Sabre\CalDAV\ICSExportPlugin();
$server->addPlugin($icsPlugin);

lets say to the line 100 but basically anywhere beween the server initialization and server->start(

Maybe there could be necessary some caching etc but for now it could help you until that functionality will be implemented.

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