This topic is locked

Use existing table for Calendar Category

3/16/2021 2:51:57 PM
Calendar Template general questions
C
chandoshi author

I am trying to use the Calendar template for an existing application which already has categories with additional fields.

Is there a way to use these existing table instead of the build-in calcategory table.

Maybe by reassign calcategory table like calcalendar table is reassigned and then reassigning the fields
$calendarSettings["calcategory"] = "myCategory";

$calendarSettings["calcategoryKeys"]["id"] = "myCatid";

$calendarSettings["calcategoryFields"]["category"] = "myCategoryField";

$calendarSettings["calcategoryFields"]["color"] = "mycolor";