开发者

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 开发者_StackOverflow社区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


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


Okay, great example of "problem exists between keyboard and chair"! I just had to stare at the documentation and the answer was right there.

In my code, I have the following: events: function(callback) {

By definition, this MUST be events: function(start, end, callback) {

Once I added the start and end parameters, everything worked perfectly.

Thank you Adam for pointing me the the right direction!

Ken

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜