When Open edX XBlock asides are the right tool
An XBlock aside is the right tool when a course team or platform owner needs the same addition, such as a note, a checkpoint, a tracking widget or a rubric panel, across many existing blocks and the blocks themselves should stay as they are. An aside fits that job when the addition is shared across the block types the aside supports. An XBlock is a self-contained unit of content or behavior that an author places into a unit as its own component. An aside is a secondary block that the platform renders alongside a host XBlock, so it adds to the block without replacing or editing it. One aside definition can attach to every matching block in a course, which makes it a strong fit for a repeated addition across a large body of existing content.
Choose a different approach when the job is smaller or different in kind. A per-block edit is simpler when only a handful of blocks need the addition and the change applies to one course. A custom XBlock is the better choice when authors need a new component they can place themselves, with its own settings and state. A micro-frontend suits changes to whole learner or Studio pages, such as a new dashboard or navigation panel, that sit outside any single block. Settle which of these the team needs before writing code, because each option carries different maintenance work through upgrades and a different authoring experience for course teams.
Before committing, confirm the details that vary by release and by deployment. Check the Open edX documentation for the release you run, including which host block types an aside can attach to, where it renders in the LMS and in Studio, and how aside data is handled during course export and import. The current named release is Verawood, so begin with the edx-platform repository and the release notes for your installed version. Also confirm who will own the aside code, how it is packaged in your Tutor build, and how it will be tested at each upgrade.
Deciding between an aside, a custom XBlock and a per-block edit
Three options can add content or behavior to Open edX course material: an XBlock aside, a custom XBlock, or an edit to each block. The factors below decide which one fits, and they interact, so a team should weigh them together before writing code.
Number of blocks affected
An aside attaches to many existing blocks without editing each one, so it suits additions that must appear across a large set of course components. A single block, or a handful that will never change, is often simpler to edit directly. Count the blocks now and ask course teams how many new blocks they expect each term. The larger the set, the stronger the case for an aside.
Open edX release notesBehavior that must follow blocks
If the addition must travel with blocks into new courses, reuse, or course copies, it has to be defined in the platform and enabled by configuration, not typed into one course. A per-block edit stays with that block and is lost when a team rebuilds content from another source. Ask whether the requirement is the same in every course or only in one.
Reading or writing learner state
An addition that stores learner responses, scores or progress needs a block or aside with a defined handler and data model, and a plan for how that data is retained and exported. Static presentation such as a note, banner or link does not. Confirm what learner data the addition creates before choosing, because it affects privacy review and reporting.
Who authors and maintains it
If course teams add and edit content themselves in Studio, the option must be usable without code access, so it fits a configurable aside or an existing block. If operators control the behavior, a custom XBlock or aside maintained by engineers is more appropriate. Decide who owns the change request process before the build starts.
How often content changes
Content that changes every term is better served by an authoring path that course teams can update. Logic that changes rarely and must be tested with each release fits code, which the platform team can version and review. Frequent edits to many blocks are a sign that the content belongs in an aside or a data-driven component rather than in repeated manual changes.
How an aside attaches to existing XBlocks
An XBlock aside is a separate XBlock type that renders alongside a host block rather than replacing it. The host block keeps its own type, template and learner state, and the aside adds a second piece of content or behavior to the same position on the page. This is what makes asides useful when the same addition, such as a reflection prompt, a glossary note or a compliance acknowledgment, has to appear on many existing blocks without editing each one. Your team defines the aside once, in its own package, and the platform applies it wherever its rules match.
The platform decides which blocks an aside applies to through the aside's configuration and the host block types it is allowed to attach to. Confirm the exact list of supported host types and the views each aside can render in against the documentation for the Open edX release you run, because this has changed between releases and the list determines whether your design works at all. Before committing to an aside, build a short test course that contains every host type your content uses, and check that the aside appears in each of them, in both the learner view and the authoring view that course teams use. Plan for any host type that is not covered, since those blocks will silently show nothing.
The aside's data is stored separately from the host block's data. The host block keeps its own fields in the course structure, and the aside keeps its own fields linked to the host block's usage. This separation has two consequences. First, learner responses or settings made through an aside belong to the aside, so reporting and exports must be checked to confirm that aside data appears where your course team expects it. Second, removing or moving a host block can leave the aside's data orphaned, so ask your implementation partner or your own developers to document how that data is handled before course teams start building at scale.
Common aside patterns and where each fits
Display-only asides add read-only material beside a host block, such as a note, a badge or a help link. They take no learner input, so they carry the least platform risk. Illustrative example: a compliance reminder attached to every problem block in a safety course.
- Platform needs: an installed aside class registered with the platform, enabled for the course in Advanced Settings, and static assets served from the same deployment.
- What it stores: usually no learner data. Configuration such as text or image URLs lives in the aside's own fields on the course content.
- Host block changes: asides are written against specific views and block types. If a host block changes type, the aside may stop rendering for it without an obvious error.
- Course moves: aside fields travel with course data, but linked files and URLs can break when a course moves between instances.
- Maintenance: display-only asides are the easiest to test, so they suit content that changes often, such as links and notices.
Before you rely on a display-only aside, confirm in a staging course which block types render it, and check that it still displays after an export and import.
Interactive asides collect learner input, such as a reflection, a confidence rating or a short check, and store it. They need persistence, learner identity and a clear decision on who can read the stored responses. Illustrative example: a confidence rating shown beside each video, with results feeding a weekly report for the course team.
- Platform needs: a storage path for learner-specific state, a decision on whether responses are scored or only recorded, and reporting hooks if the course team needs the data.
- What it stores: learner-linked records in the platform database. These fall under your privacy, consent and retention rules, so define them before launch.
- Host block changes: responses are tied to the host block's identifier. Replacing, duplicating or restructuring a block can orphan stored answers or attach them to the wrong content.
- Load: many learners submitting in the same window adds write load. Test with cohort sizes close to your real enrollment.
- Exports: confirm whether learner responses are included in course exports, and whether that matches your data handling policy.
Confirm where responses are stored, who can read them, how long they are kept, and what happens to them when a host block is edited, copied or removed.
Instructor-facing asides change what course teams see, for example a per-learner status panel or a warning on a block with unusually low completion. They read more data than learner-facing asides, and they create access-control risk because staff views expose learner information. Illustrative example: an aside that shows how many learners skipped a graded problem.
- Platform needs: the aside must render only in staff or instructor contexts, and it must check roles on every request rather than relying on the template to hide content.
- What it stores: usually nothing new. If the aside caches aggregates, document where the cache lives and how it is cleared.
- Access control: confirm that only the intended roles can see learner-level figures, and review this again after any change to course team membership.
- Host block changes: the panel may depend on the host block's data shape. A type change can produce empty or incorrect figures without an error, which is harder to notice than a failed render.
- Performance: aggregating across many learners on each page load can slow the instructor dashboard, so measure query cost on a large course.
Test with a learner account, a staff account and an instructor account, and confirm that each sees only what its role allows.
Setting up an XBlock aside on a Tutor-based platform
This sequence takes an XBlock aside from a reviewed code package to a verified, deployed feature on a staging platform. Each step ends with a check, so the team knows the aside works in Studio, the LMS and an export and re-import before it reaches learners.
Write and vet the aside package
The engineering team writes the aside as a Python package that registers an XBlock aside against the host block types it should decorate, and adds any static assets it needs. Before anything is installed, a reviewer reads the code, checks its dependencies, and confirms which host block types and views it touches, including whether it writes to student data. The step is done when the reviewer signs off on the code and the list of host block types is written down.
Pin the package version or commit
The team pins the aside to an exact PyPI version or Git commit in the image build inputs, so every rebuild installs the same code. The pinned reference is recorded alongside the review sign-off. The step is done when a fresh build resolves to the same package hash or commit as the reviewed version.
Add the aside to the Tutor image
The team adds the package to the Open edX image through a Tutor plugin or the build workflow the platform already uses, and enables the aside entry point in the platform configuration. Changes to hand-edited files are avoided so the setup survives later Tutor upgrades. The step is done when the configuration is committed to version control and the diff shows only the intended changes.
Rebuild and deploy to staging
The operations team rebuilds the Tutor images, then deploys them to a staging environment that mirrors production's identity, storage and caching setup. Logs are checked for import errors at container start. The step is done when the staging platform starts cleanly and the aside package is listed as installed in the running services.
Enable the aside on a test course
A course team member enables the aside for a test course in Advanced Settings, using the aside name registered by the package, then adds a few host blocks of each type in scope to the course. This keeps the test isolated from live courses. The step is done when the course saves without errors and the aside setting is visible in the course's configuration.
Verify rendering in Studio and the LMS
The QA lead opens the test course in Studio and confirms the aside appears on each in-scope host block type, in the authoring view and the preview. The same blocks are then checked as a learner in the LMS, with a learner account, and in any mobile or alternate views the platform serves. Each host type is recorded in a pass or fail table. The step is done when every in-scope host type shows the aside in both Studio and the LMS.
Confirm the aside survives export and re-import
The team exports the test course, imports it into a clean staging course, and repeats the rendering checks on the copy. They also confirm which aside data is carried in the export and which must be recreated by hand. Known limitations are written into the runbook for course teams. The step is done when the re-imported course renders the aside on every host type, or the gaps are documented and accepted by the owner.
Record the approved configuration for release
The team writes down the pinned version, the configuration commit, the host block types covered, the verification results and the export and import limitations, then hands the record to the operations owner for production rollout. Production deployment follows the same build and verification steps. The step is done when the approval record is stored with the release and the production rollout plan references it.
How an aside renders inside a host block
The flow starts when a learner or course author opens a unit, and the LMS or Studio renders the host XBlock as it normally would. The platform then attaches any aside registered for that block type and renders it alongside the host, so the aside's output sits inside the same page. Any state the aside saves is written back to the course data store through the platform, which is the point to check first: the aside's data lives with the course, not inside the host block. The trust boundary marks where course content meets platform code, because an aside runs code you must vet before installing.
Asides render beside their host block and save state with the course data.
Aside configuration options and when each fits
This table compares the main choices you make when adding an XBlock aside: which host blocks it targets, how it is enabled, whether it stores learner data, and how it is packaged. Read each row as a decision: the fit describes when the option makes sense, the trade-off names the cost, and the confirmation column lists what to verify in your own environment before building.
| Option | Fit and trade-off | Confirm before building |
|---|---|---|
| Host block types | Suits behavior or content that should appear next to many block types, such as a note or feedback panel. Broader targeting means more places to test and more upgrade surface. | Which block types your courses use, and whether the aside renders correctly in each one you rely on. |
| Enabled per course | Fits pilots, specialist courses or content that only some teams want. Course teams must enable it, so the behavior depends on course settings being kept consistent. | How your course teams will enable the aside in Advanced Settings, and who owns that configuration. |
| Enabled globally | Fits platform-wide behavior such as a required notice or a shared tool. Every course is affected, so a defect reaches all learners at once. | Who approves a global change, and how you will roll it back if a host block breaks. |
| Stores learner data | Needed when the aside collects answers, notes or progress. Data then falls under your retention, privacy and backup policies, and it must survive course export and import decisions. | Where the data is stored, how it is exported, and which privacy obligations apply to it. |
| Stateless display only | Fits static guidance, links or formatting that read no learner state. Lower data risk and simpler testing, but it cannot record anything. | That the aside never writes to learner state or to a database you operate. |
| Packaged as a Tutor plugin | Fits asides you deploy across environments or maintain over time. Settings and images are versioned with the rest of the Tutor configuration, which makes rebuilds repeatable. | Your Tutor version and the plugin's compatibility with the Open edX release you run. |
| Installed directly | Can suit a quick proof of concept, but changes made by hand are easy to lose during rebuilds or upgrades and are harder for reviewers to trace. | Whether the install is recorded in version control and can be reproduced from scratch. |
Course import and export limits for asides
Aside data does not move with a course by default in the same way block content does, so plan for it before the first export. A course export packages the course structure and block content from Studio, but an aside is a separate piece of behavior attached to existing blocks by a Python package installed on the platform. The export file can record which asides were used, yet the target platform only renders them if the same aside package is installed, enabled and configured there. Confirm with a test import exactly which aside data appears in the exported archive, which fields are stored with the blocks, and what the learner sees when the package is missing. Treat any aside-dependent content as unverified until you have checked it on the target.
Keep the aside version identical on the source and the target. Pin the same package version or Git commit in the Tutor image on both environments, because a mismatch can produce blocks that import cleanly but render differently or fail for learners. The same discipline applies to the XBlock framework code that the aside depends on. Record the pinned version in your change log, rebuild the image on the target before importing, and check the image tag that is running before you schedule the import. Ask your implementation partner or the aside author how the package stores its data and whether a version change requires a data migration.
Run a full round trip in a staging environment before the course goes live, then repeat it for each Open edX release move. Export a representative course from production or a copy, import it into a clean staging instance that has the same aside package pinned, and compare the course outline, block settings, aside output and learner view against a checklist. Then export from staging and import again to confirm the cycle is stable. For migrations between named releases, read the release notes for the target release, including the Open edX Verawood release notes if that is your destination, and plan the aside package upgrade as part of the same test cycle, since the release notes are the authoritative source for changes to the platform that the aside relies on. Exact behavior must be confirmed with those release notes and a test import in your own environment.
Limits to confirm before you build
An XBlock aside depends on the Open edX release, the block types it attaches to, and the export path your course team will use. Confirm each limit below in a staging environment with your own courses before you commit to the design, because the answers decide whether asides are the right tool.
Release compatibility
Ask whether the aside package supports the current named release, which is Open edX Verawood, and whether it has been tested against your Tutor version. Open edX supports only the latest named release at a time, so an aside built for an older release may need changes before your next upgrade. Check the package's declared dependencies and the XBlock framework version it expects, then run one course through a test upgrade path.
Verawood release notesHost block type support
Confirm which host block types the aside renders on in your courses. Asides attach to blocks through the rendering pipeline, and some block types, such as custom or third-party XBlocks, may not render asides the same way as standard components. List every block type your course teams use, then test the aside on each one, including nested containers and units with several blocks.
Asides in course exports
Ask how asides are represented in exported course archives and whether a re-import restores them to the same blocks. Course export and import can drop or relocate data that sits outside the core block definition, which affects course reuse across sessions and any migration to a new instance. Run an export and import round trip on a representative course and compare the aside content and its attachment before the content team relies on it.
Performance at scale
Ask how page load and Studio editing behave when many blocks in one unit or course carry an aside. Each aside adds rendering work and, depending on its implementation, extra data requests per block. Measure a course with your realistic block count and learner concurrency, and set a ceiling for asides per unit before the content team applies the pattern across the catalog.
Accessibility of rendered output
Ask whether the markup an aside adds keeps headings, landmarks, focus order and keyboard operation intact inside the host block. An aside that injects content into a block can break reading order or screen reader announcements even when the host block passes review. Test with a screen reader and keyboard only on each host block type, and record the results for your accessibility review.
Translation handling
Confirm whether the aside's text strings are marked for translation and whether they appear in the same language catalogs as the host block. Strings that are hardcoded or missing from translation files will show in the source language to learners using other locales. Ask the package maintainer how translation files are delivered, then check one localized course page with the site's active languages.
Questions teams ask before building XBlock asides
How much more effort is an XBlock aside than a custom XBlock?
An aside is usually less work when the goal is to add a feature or behavior to many existing blocks, because you write one piece of code that attaches to each host block instead of rebuilding each content type. A custom XBlock is more work when you need a new content type with its own authoring form, grading and learner view. The effort gap depends on how many host block types the aside must support and how much each one needs different handling. Ask your team or a partner to list the host block types and the behavior on each before comparing the two approaches.
What drives the cost of an XBlock aside build up or down?
The main drivers are the number of host block types, how much the aside must read or change on those blocks, and how many course and release combinations must work. Cost also rises with custom styling, learner data storage, reporting needs and the number of environments you must test in. Costs fall when the behavior is narrow, the host blocks are standard, and sample courses already exist. Any quote should separate design, build, testing and handover, and state who maintains the aside after launch.
How long does a typical aside build and test cycle take?
No researched duration is available for this work, so treat any timeline as unconfirmed until it is written into a scope. The cycle depends on the number of host blocks, the sample courses used for testing, and whether the aside needs changes to its own storage or the learner interface. Ask for the stages, what each stage produces, and how many test rounds are included. Confirm the target Open edX release at the start, because testing against a different release can add rework.
What must our team provide before an aside build starts?
Prepare three inputs before work begins: sample courses that contain every host block type the aside must support, the Open edX release you plan to run, and a written host block list that names which block types the aside attaches to and which it must skip. Also provide your current Tutor version and the deployment you will test against, plus the behavior you expect on each block. Missing sample content is one of the most common causes of delay, because testing against invented content often misses how real course structures behave.
Can our internal team build an XBlock aside without outside help?
Yes, if your engineers know Python, the XBlock framework and the Open edX release you run, and can set up a Tutor development environment. The work needs someone who can read edx-platform code to confirm how host blocks render and save data. Teams with no prior XBlock experience usually spend more time on the framework and testing than on the feature itself. Consider an outside review of the design before build if your team has not shipped an XBlock or aside before, and confirm the skills gap against your own staff list.
Which problems do course import and export create for asides?
Asides are stored alongside the blocks they attach to, so their data must survive course export and re-import into another instance. Check whether the aside's stored data is included in course exports, whether it references content identifiers that change on import, and whether the target instance has the same aside installed. Plan a test import into a clean environment before launch, and document any manual steps for course teams. Confirm the current limitations in the Open edX documentation for your release, since behavior can change between named releases.
What does the aside need to be safe to run in production?
Review what the aside reads, writes and displays, and confirm that learner data is handled according to your policies. Check that the aside does not expose answers, grades or personal data to unauthorized roles, and that it respects the permissions of the host block. Pin the package version so upgrades are deliberate, and review the code before installing it into your image. Ask for a security review of the aside as part of the handover, and confirm which team owns patching when a new Open edX release ships.
How the scope and handover are agreed
Scope, deliverables and timeline are agreed in writing before any aside work starts. For an XBlock aside engagement, the written scope should name which block types the aside must attach to, which views it must render in (student view, studio view, or both), and which courses or course runs it will touch. Most engagements of this kind are fixed-scope, so the quote follows from that document rather than from a headcount estimate. Ask for the written scope to list the aside's behavior, its data storage, and what happens to existing course content if the aside is removed.
A fixed-scope aside engagement typically covers design, build, vetting, test import and export, and documentation. Design fixes the aside's entry points and its settings, including how a course team enables it, since asides are attached per block type through the platform's configuration rather than edited into each block. Build produces the aside package and its installation steps for your Tutor image. Vetting reviews the code's permissions, data handling and dependencies before it reaches production. Test import and export confirms that courses carrying aside data survive a round trip through Studio's course import and export, which is the step most often skipped and most often regretted. Documentation covers the enablement steps and the known limitations for course teams.
At handover, the client should receive the packaged aside with a pinned version, the Tutor configuration needed to rebuild the image, the import and export test results with the course content used, a list of block types the aside was verified against, and a runbook for enabling it in new courses. Confirm with DeployOpen whether the handover also includes a retest after your next named Open edX release, because asides depend on platform internals that change between releases, and confirm who owns the repository and the vetting record after the engagement closes.
How DeployOpen delivers Open edX XBlock asides
DeployOpen scopes the aside work against the block types, course structures and import and export routines your courses depend on, then builds it inside your own Open edX environment. Each engagement is fixed-scope, with the deliverables, test evidence and handover agreed in writing before work starts.
How we scope
- Inventory the XBlock types, courses and libraries the aside must reach, and mark which ones teams edit outside Studio
- Agree in writing which block types, views and behaviors the aside covers and which are excluded
- Record the course import and export steps your content team uses, so the aside's data handling is planned before build
- Confirm the Open edX release and Tutor version your environment runs before any code is written
How we build
- Implement the aside package with a documented install path, pinned dependencies and a rebuilt Tutor image
- Test the aside against representative courses, including existing blocks, duplicated units and exported course archives
- Verify that learner and Studio views render correctly for each in-scope block type and role
- Keep changes in an installable plugin rather than hand-edited edx-platform files, so upgrades stay manageable
How we hand over
- Deliver source code, build instructions and a list of every in-scope block type with its test result
- Document the import and export limitations found during testing and the steps your team follows when courses move
- Provide an operations runbook covering enablement per course, rollback and how to review the aside after an upgrade
- Walk your engineers and course teams through the handover and record open questions in the delivery report
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after the fixed-scope delivery ends
- Retest the aside when you move to a new named Open edX release or change Tutor versions
- Review new block types and course changes against the agreed scope before they reach learners
- Agree response expectations and service terms in the retainer quote, since these depend on your chosen support level

