Search code examples
jsonfullcalendaroracle-ucm

Using Oracle UCM JSON data in fullcalendar?


Is there a way to fetch data from Oracle UCM's JSON option and use this in Full Calendar. I createed a service to return data from calendar data in UCM, and want to display the events using fullcalendar.

Here is an example feed that I get back:

"ResultSets": {
{
"SQLLMCal": {
"fields": [
{ "name": "SINGLE_ELEMENT" },
{ "name": "Start" },
{ "name": "SCHOOL_TYPE" },
{ "name": "SCHOOL_TYPE_ID" },
{ "name": "Title" },
{ "name": "ENTRY_SIDE_GROUP" }
],
"rows": [
[
"141",
"3/17/11 12:00 AM",
"Elementary",
"3",
"Big Burger",
"1"
]
]
}
}
}

Thanks, Ken


Solution

  • need to parse your own data using a custom events function: http://arshaw.com/fullcalendar/docs/event_data/events_function/