Customising the calendar view using js

Hello all

I would like to create more than one calendar view for single doctype.

The new V13 allows for a calendar view definitions where you can have more than one calendars.

My question is how do you add a separate js file for each view because currently all calendars seem to share the same ‘_calendar’ js file.

Or is there a way to use the same js file for more than one calendar?

1 Like

Hi,

Add a calendar view for your dotype, and deal with hook doctype_calendar_js

There is a sample of what is possible : GitHub - scopen-coop/jobcard_planning: ERPNext App - Calendar way to plan Job Card

Adding a calendar view for my dotype worked well. But I still can’t match the design to this printable November 2022 calendar.