Docs / Import and export
Updating an existing course from a file
In the Settings tab of a course (author only), choose Update from a file. You apply to the course a file (single file or ZIP) that was exported from that course and then edited offline or by an AI. Nothing is written before the preview.
Matching by identifier
- A module or page whose
idexists in the course is updated. - A module or page without an
id, or with an unknownid, is created. - A module or page of the course that is missing from the file is kept (it is deleted only if you tick the dedicated option; the preview then lists the published pages concerned).
- The same
idin two blocks is refused, with both locations (the typical case is a copied block whoseidwas not removed). - The
courseIdof the file must be the target course, otherwise the update is refused, unless you tick “apply anyway” (every block is then treated as new). - Probably lost id: a new page and a missing page with the same title in the same module are flagged. The option “match by title” then treats them as one modified page instead of one creation plus one absence (never automatic).
Statuses in the preview
Created, modified (title or content), moved (to another module, with the same page id so links stay valid), unchanged (never rewritten) and missing. The badges “published” and “conflict” complete the list.
Conflicts
A page that changes and whose fingerprint (baseHash) does not match the current draft (it was edited online since the export), or that has no baseHash, is a conflict. For each page, you choose to overwrite the draft or to skip the page (or choose for all). The update does not start while a conflict has no choice. An unchanged page is never a conflict.
What is written, what is not
- Only drafts are written. The published version seen by participants, the publication state and the AI Coach index do not change. Published pages that were modified are listed as to republish in the result.
- The course title and description change only with the option.
- Visibility, acceptance mode, invitation code, participants and shares are never modified.
- The free preview of a module changes only when the file sets
previewto a different value; a file withoutpreviewleaves it as is. - Modules and pages follow the order of the file; kept missing items come after.
Resources (files exported with resources)
A resource is reused if its sourceId designates a resource you own or is in the course’s resource mapping; otherwise it is created (and billed). Reused resources are never modified. There is no course creation cost.
Safety
- Before any write, a ZIP backup of the course is made, downloadable for 24 hours from the result.
- If a step fails before the deletions, drafts, titles, positions, creations and resources are restored and credits refunded.
- Deletions come last; a deletion failure is reported without undoing the rest.
- If the course is modified online between the preview and the confirmation, the update is refused: run the preview again.