Skip to main content
Skip table of contents

Integrating Confluence Team Calendars

Since Scroll Viewport 2.14.1 we changed the resource import for $page.resources.js. The resource import doesn't require the JS files for the Editor by default anymore since in most use-cases it is unnecessary.

Anyway the macro Confluence Team Calendars requires the resources of the Editor to display the calendar.
To render the macro in a viewport you would need to do the following:

In your HTML head paste in the following meta-tag to require the full JS package of Confluence:

XML
<meta name="ajs-vprt-preserve-editor-loader">
<meta name="ajs-remote-user" content="$user">
<meta name="ajs-version-number" content="YOUR_CONFLUENCE_VERSION"> 
$page.resources.require('com.atlassian.confluence.extra.team-calendars:calendar-init')

Don't forget to replace YOUR_CONFLUENCE_VERSION in the snippet above with your actual Confluence version

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.