Calendar example
This example should, with luck, get you by until we have documentation for the component.
Steps to add a calendar to a page
- (Steps 1-3 require a Sitecore Admin) In the content editor, right-click Page Data
- Pick insert.
- Pick insert from template.
- Pick calendar.
- In the new calendar item, in the box labeled API, put the URL of your data.
- For example, https://data.kingcounty.gov/resource/a5hq-yx6s.json?parks=true brings in all data in the master calendar that has the box for "Parks" checked.
- If the calendar data has keywords, you can use those to filter the data. For example, https://data.kingcounty.gov/resource/a5hq-yx6s.json?feed_keyword_s=inquest will return all calendar entries that have "inquest" in the keyword section of the data.
- In the experience editor, click the "Add a new component" button to display all the "Add here" buttons.
- Mouse over these buttons to get the name of the placeholder where you want to add the calendar. You'll need that in a bit.
- In the content editor, click the page that has the calendar.
- Pick Presentation on the ribbon.
- Click Details.
- Click Final Layout.
- Click Edit.
- Click Controls.
- Click Add.
- Click Calendar.
- Fill in the "Add to placeholder" box with the name of the placeholder you noted above.
- Click Select.
- Under data source, use the browse button to go to the calendar item you inserted above.
- Click Okay.
- Click Okay.
- Click Okay.
- Page preview should now show the calendar.