Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Populating Events into the calendar

$
0
0
Hi Nicholas,

So you can start by analysing the Sample eSpace that comes bundled with the Application when you first install it.
There are several types of data feed, I'll highlight 2, one for small set of events, another for a big dynamic set of events.
  1. Under CalendarBackground page the sample is using a JSON approach which is data set directly on the initialization script of the calendar. The approach here is to build up a list using ListAppend into a an Events List attribute, and then serialize it using OutSystems2JSON (from ArdoJSON)
  2. Under CalendarClean you have a more sophisticated approach where events are rendered assynchronously using REST calls. In this instance, please note the EventsRESTUrl parameter of the calendar on that page and the REST endpoint defined in the Logic tab which you can use as a starting point.
Let me know if this helps and how you're progressing.

Kind Regards,
João Grazina

Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>