Sync Calendar with Database

Hi,

pardon my bad understanding with your documentation but i still don’t understand on how to grab a data (createdTs) and put it inside a calendar. which means everytime a user created this Order, the Order will automatically shown on the calendar. Please help me. I am soooooo blank right now

Hi,

First of all, you need to add the createTs attribute to a view:

image

Then define a datasource to a Calendar and use createTs as startDateProperty and/or endDateProperty:

<calendar id="calendar"
          startDate="2018-08-01"
          endDate="2018-08-31"
          datasource="ordersDs"
          height="400px"
          captionProperty="description"
          startDateProperty="createTs"
          endDateProperty="createTs"
          width="100%"/>

Regards,
Gleb