Using open source power calDav cardDav etc

We have done calDav feeds based on data from ERPNext. For example, this is a simple public calendar feed:

As you describe, the mapping is the part which is customized/individual…

Hi Lars,

thank you for sharing. Is this something I am able to install and test? Do you provide some kind of documentation anywhere?


Sure, you can install the app (I propose in a test environment) using the standard commands

$ bench get-app
$ bench install-app firetesting

Documentation is limited :wink: Set a calendar secret in the settings, then use the endpoint to access the calendar. You can also copy the relevant code to your own app and use it from there…

Hi @lasalesi do you have this somewhere installed where you can show me via a quick demo?


@wojosc i just stumbled over this:

Not sure if it has something you are looking for, though.

1 Like

To add context to your reference Document and Archiving System - #12 by woakes070048

1 Like

Thank you Dave! This might be exsactly what we are looking for. I have just sent an e-mail to the developer. I’ll get back to you with any news on the subject.

1 Like

do you have this somewhere installed where you can show me via a quick demo?

sure, remind me next week :wink:


Maybe not the optimal name for an app :wink: , but the description sounds very interesting, will also have a look into this… Seems to be straightforwar integrating the WebDav…

Thank you. I am just talking to @joelios and will be installing this on our test server.

For everyone else:

firetesting is not the function itself but an app including the required functionality. What libracore has built is a python file will calls a function on a iCal library which needs to be installed on your server first. This function collects information from a given docType (in this case Event) an puts all the information from events marked “public” into an iCal-feed.

Further there is a docType which should be created to be able to set some settings on a UI. For the moment this needs to be done by hand.

Having all this done you will be able to subscribe to an iCal-feed in any compatible calendar-app like, thunderbird, outlook, apples calendar etc.

The calendar is a one-way sync from your erpnext instance to you calendar.

Sounds good. Yes, firetesting is one module that that an inbuilt calDav support (as a calendar feed of the public “Event” records). As there are meny things from ERPNext that can be fed into calendars (refer to the calendar view) and even tasks are nicely deployed using calDav, there is quite a variety of similar feeds around (which is why they are typically built into an app along with other customisations)…

Maybe there is an generic application worthwile to be integrated in the core.

Merry Christmas to you all!

So we have bundled the function in an app at GitHub - joelios/iCalFeed

I have taken the time to test with Thunderbird and Apples Calendar. Works as expected.

Here are some screenshots:

Go to Settingspage:

and setup basic configuration

The highlighted fields will be parsed to your feed. (+Date & Time)

Apple Calendar:

Thunderbird (on macOS):


So you can see, that it will do what it should but needs a little optimization here and there.

@Basawaraj_Savalagi fyi

You all have a nice holiday!



Has there been any work done for contacts? This is actually much more important for us than events - knowing who’s calling you on your phone. CardDav? Microsoft 365 integration?

thanks @wojosc for sharing this.
Just wondering how are password stored in the db? in clear?
Could any IT administrator for the frappe/erpnext site have access to these password if put in the database?


yes, at seen in this screen:

Passwords stay visible here and form the end of the URL you subscribe to.

It’s on our list, yes.

@wojosc any update on carddav?

no real news, no. We are now looking to do a *.ics attachment to be able to create calendar entries as a first step. Expecting to have this done in the next few weeks maybe. Stay tuned.

1 Like

I wonder if it is difficult to code the U part of CRUD in Contacts. Doing iCal should be more straight toward. May be.

As ERPNext nor Frappe has built-in carddav or Candace server, I guess it is inevitable to pass this work via 3rd party such as Radicale.

In general I guess the first decision that needs to be made is:

#1 ERPNext is your cal/card DAV Server
#2 ERPNext is just a client syncing with a third-party server (this is kind of implemented with google contacts and calendar)

To me, Google syncing is, at current form, just export and import. I’m afraid the def of syncing is too loose here.

Agree with you. #1 I guess is out of scope.

If someone needs it, my guess is that everyone has to go to #2.