Import confluence page in a course Macro

Adding confluence page as a lesson

Confluence pages  from confluence server  can be pushed as a  lesson inside a course in LMS.  To do this we need to do setup step where in we have can drop  "EduBrite LMS Page" macro on page and provide courseId & module name from LMS.

Once the setup is done any subsequent changes in those pages are automatically synced from confluence server to LMS.

Before starting, have courseId and module name of course handy. Confluence server's page will be synced inside above this module under this course.

1. Login as Confluence administrator, Open page in Edit mode

2. Go to Add macro search for "Edubrite LMS Page" . Add this macro to page.

3. Complete the configuration of the macro by setting courseId and module name.

4.Save and finish the setup . Save page.

4. Now open the page in view mode and open the action menu, and click on Sync To LMS option.

5. This will show success message as below once everything is complete. 

Debugging Issues

  • If you see error like not failed or not authorized error, please check if the current confluence admin exist on LMS and has access to course where we are trying to add content
  • If course is being edited by another user in LMS, it may result in conflict in editing in some cases. 
  • If your confluence page uses some macros that require Confluence environment for rendering each time, they may not get exported properly in the page's synced content in LMS. Normal html, embedded images should work well. 

Batch Job

Batch job is configured to run every 12 hours by default under scheduled jobs. 

In order for batch to run correctly we need to setup admin user under. Help -> Manage Learners -

This batch will search for all pages where the EduBrite LMS Page macro is added and auto-sync those pages to corresponding course. So ongoing updates will be auto updated.