XMembers Docs
Import

Content

Export the area's content from “Export data” and import from a file, a spreadsheet, MemberKit or Cademí

Export content

In Settings, open the Export data card and click Export content. Only administrators can open the page. A JSON file is downloaded with:

  • Full structure — categories, courses, modules and lessons
  • Content — texts, settings and metadata
  • Media — videos, images and files referenced by the lessons
  • Settings — status, positions, layouts and options of each item

The file is useful for reusable templates, for taking content to another area or for keeping a backup of the structure.

Import content

The import creates the content in the destination area. The area does not need to be empty: what already exists stays as it is, and the imported items are added alongside, with their addresses (slugs) adjusted when they repeat those of existing items.

Every way of importing follows the same path: the import is queued, runs in the background and ends in a report (see History).

From a JSON file

  1. On the Content tab, click Select JSON file
  2. Choose the exported file
  3. Follow it on the History tab

The file has at most 5 MB and 10,000 rows across categories, courses, modules, lessons, attachments and media, and must have at least one course.

From a spreadsheet

  1. Click Download template and open the file in Excel or Google Sheets
  2. Fill in one lesson per row
  3. Save as CSV and upload it with Select CSV spreadsheet
ColumnWhat goes in it
categoriaCategory name
cursoCourse name
móduloModule name
aulaLesson name
ordemLesson position in the module (number)
vídeoVideo link (YouTube, Vimeo or Panda Video)
textoLesson text
anexosAttachment links, separated by spaces

The template headers are in Portuguese; the English names category, course, module, lesson, order, video, text and attachments are also accepted. Category, course, module and lesson are required. Column names ignore case and accents, and the columns can be reordered. Rows with a problem (a blank required field, an invalid order, an invalid video or attachment link) are refused and listed on screen with the row number; the others are imported.

From MemberKit or Cademí

  1. Scroll to Import from MemberKit or Import from Cademí
  2. Paste the API key of your account on the platform
  3. Click Import

The platform checks the key before starting. The key is used only for that import and is not stored.

Courses, modules and lessons are imported, with text, video and attachments. Videos from services other than YouTube, Vimeo or Panda Video and invalid attachment links are not imported: the lesson is created and the item shows up in the report, under Lessons with outside content, for you to add by hand.

After a migration, see the post-migration checklist.

Media

In the JSON file, videos, images and attachments from the same provider as the source area are referenced, without duplicating the file in storage. Images and attachments can also come as an https address (sourceUrl): in that case the server downloads the file and stores it in your area. Whatever cannot be downloaded (file too large, unsupported type, invalid or unreachable link) is left out and appears in the report, under Left out, with the source link.

File format

The format is versioned. The platform reads versions 1 to 4 and exports version 3:

VersionWhat it carries
1Structure only, no media
2Structure from an old version: without media it is imported normally; with media it is refused, and you must export again from the source area
3Full structure with media — the one the Export content button generates
4Like 3, and images and attachments can come by sourceUrl

Files in versions 1 and 2 are imported without media references.

On this page