Hi, i am looking to integrate the FullCalendar Scheduler (https://fullcalendar.io) with ERPNext to get the resource allocation view. The latest version of FullCalendar premium is v5.5.1 which i believe is not compatible with calendar.js of Frappe. I tried this initially and got error. They have also changed the files and function names in latest versions of Fullcalendar.
Upon checking, i found that the version of Fullcalendar bundled with frappe is v3.4, located at ‘assets/frappe/js/lib/fullcalendar’. First i upgraded this to v3.10.2 (and calendar still worked) and then downloaded the compatible Fullcalender Scheduler v1.10.1. It has two files ‘scheduler.js’ and ‘scheduler.css’
I added these files to my custom app’s public/css and public/js and included them in my custom hooks.py
app_include_css = [ “/assets/custom_app/css/scheduler.css” ]
app_include_js = ["/assets/custom_app/js/scheduler.js"]
and did bench migrate
but i am not able to get the Fullcalendar Scheduler js file loaded in the header. In header i can see only the default ‘FullCalendar’ js and its locale js scripts. I think if i am able to get the Scheduler.js loaded correctly, then i would be able to use it in the calendar. A little help here please?