You can check how to use the API to get the json instead of create the events.php (lista_vacaciones.php in my sample) file in this thread: (v2020+)https://discourse.hkvstore.com/t/json-parsing-error-in-fullcalendar-integration/3389/6 have to add this line at the end of your custom calendar file to avoid an error as described in this thread:https://discourse.hkvstore.com/t/custom-link-to-open-modal-edit-page-does-not-show-dropdown-data/3473/1 Just change “planificacion” to the name of your table
<script>
if (!ew.vars.tables.planificacion) ew.vars.tables.planificacion = <?= JsonEncode(GetClientVar("tables", "planificacion")) ?>;
</script>