XWiki customization and extensions

Teams extend XWiki with extensions, applications, skins and structured data, and often need a partner to keep that code working through upgrades. This page covers scope, cost drivers, risks and what you provide.

On this page

When XWiki customization and extensions need outside help

Most small customizations, such as a few macros, a page template or a configuration change, are usually handled in-house by a team that already runs the wiki. A partner becomes worth considering when the wiki has to fit existing processes, structured data, branding or integrations that XWiki does not provide out of the box, and when that work must be done so it survives version upgrades. The deciding question is whether your own team can build, test and maintain the custom code on a schedule that matches the XWiki release line you plan to stay on.

The usual triggers are specific. New structured data means custom classes, property types and forms that other pages and scripts depend on. A custom skin means template and CSS changes that touch the rendering layer. Integrations mean scripts or extensions that call external systems, such as identity providers or document tools. Pro-style apps, such as the business applications listed for XWiki Pro, may be the faster route for some needs, but they carry their own licensing and support terms that should be compared against building the feature yourself. Ask each candidate extension whether it is maintained, which XWiki versions it supports and who would fix it after an upgrade.

Custom code becomes an upgrade risk because XWiki pages, classes and scripts live in the wiki database and not only in files, so a change that works on today's version can break silently after an upgrade. Before committing, confirm the planned extensions and skins against the target XWiki line, list every custom class, script and template, and make sure someone owns each one. Ask any partner to show how they test extensions in a staging copy before upgrading production, and to state in the written scope who maintains the code after go-live.

What a customization engagement includes and delivers

A customization engagement moves from an inventory of what the wiki needs to tested, documented code that your team can maintain. Each component below ends in a named deliverable, and every engagement starts from a scope agreed in writing before any build work begins.

Requirements and extension inventory

We list every requested change, every extension already installed, and every custom application, skin or script on the existing wiki. For each item we record whether it is needed, replaceable by an existing extension, or better left out. The output is a written inventory with owners, versions and open questions. Check that the inventory covers Pro applications you already pay for and any scripts that run with elevated rights, because these carry the highest upgrade risk.

OIDC extension source

Extension and application development

We build extensions or XWiki applications that add behavior the standard product lacks, such as approval workflows or custom macros. Code is written against the XWiki version you plan to run and delivered as source in your repository, with a build that reproduces the package. Ask for the target XWiki line, the extension's dependencies, and whether it touches core pages or only uses public extension points.

Skins and UI changes

We change layout, navigation, themes and branding through a skin or skin extension rather than editing core templates. Skin work is separated from content so that interface changes can be reviewed and rolled back independently. Deliverables include the skin source, a short style guide and a list of templates that were overridden. Check which pages depend on overridden templates, since those are the first to break after an upgrade.

Structured data models

We design XWiki classes and the forms built on them, so that tickets, projects, policies or assets carry typed fields instead of free text. Field types, validation rules and the pages that query them are agreed with the business owners before build. Deliverables are the class definitions, sample data and a query reference. Confirm who owns the data model after handover, because changing a class later affects existing pages.

Testing on a staging copy

We apply each change to a staging copy of the production wiki, including a sample of real spaces, attachments and permission rules, and record the results. Test records list the scenarios run, the pass or fail outcome and any defects fixed. Ask for the test record format up front, and confirm whether your team will repeat the tests before each XWiki upgrade or whether DeployOpen will run them.

Documentation and handover

We deliver the documentation your administrators need to maintain the work without us: installation steps, configuration keys, known conflicts and an upgrade note for each component. Handover includes a walkthrough with the team that will own the code. Confirm that the upgrade notes name the XWiki version tested and list every component that must be retested when the platform moves to a new line.

What drives customization cost and duration in XWiki

This table lists the main factors that change the effort of XWiki customization and extensions, why each one matters and how to keep it under control. Read each row as a lever: the drivers that add the most work are usually the ones that create custom code your team must maintain through every upgrade.

DriverWhy it changes effortHow to keep it down
Number of custom extensionsEach custom extension needs its own build, tests, documentation and retest on every XWiki upgrade, so effort grows with the count rather than with the size of each change.Inventory existing extensions first and reuse them where they fit. Confirm compatibility with your target XWiki line before writing anything new.
Depth of structured dataCustom classes, properties and nested object models affect page templates, search, forms and migrations. Deep models are harder to change once content exists.Keep the data model shallow, name fields clearly and agree the model with content owners before building forms or macros on top of it.
Integrations with identity or document systemsConnectors to identity providers, file stores or office suites need configuration, credential handling and failure testing in your environment.Check whether an existing extension or the OpenID Connect extension covers the need. Confirm which integrations are in scope before design starts.
Skin changes versus application logicVisual skin changes are usually contained, while application logic in scripts or applications touches rights, data and upgrade paths.Limit visual work to the skin and keep business logic in reviewed, documented applications. Ask for a clear list of which changes are cosmetic.
Number of environmentsEach environment (development, test, staging, production) needs its own deployment, data copy, configuration and verification. Effort multiplies with each one.Automate deployment of extensions and configuration, and keep the number of environments to what your change process needs. Confirm how test data will be refreshed.
Compliance review of codeSecurity and compliance reviewers need to read custom code, trace permissions and confirm scripting rights. Undocumented code takes longer to review.Document purpose, owners and permissions for each extension. Keep scripting rights narrow and ask for review evidence as part of the scope.
Edition choice (Standard versus Pro apps)XWiki Standard is free and open source, while XWiki Pro adds business applications and connectors under a subscription. Choosing a Pro app instead of building one can reduce custom work but adds licensing and support decisions.Compare the Pro application list with your requirements before writing custom code. Confirm current subscription terms and tiers with XWiki SAS before deciding.

Choosing between an existing extension, a Pro app or custom code

An existing extension from the xwiki-contrib ecosystem fits when a common need, such as single sign-on through OpenID Connect, already has a published implementation that you can test against your own wiki. It is usually the cheapest route to start, but the cost shifts to verification: community projects vary in activity, documentation and the XWiki versions they support.

  • License: Read the license file in the repository and confirm it is compatible with how you plan to distribute and run the code. XWiki itself is LGPL 2.1, but each extension carries its own terms.
  • Maintenance status: Check recent commits, open issues, release history and whether the maintainers respond to security reports.
  • Compatibility: Confirm the extension declares support for your chosen XWiki line, whether stable or LTS, before you install it.
  • Ownership after go-live: Your team or your partner owns patching, testing on each upgrade and any fork you create when the upstream project stalls.
  • Example to check: The xwiki-contrib OpenID Connect extension can act as a provider or authenticate users against an external provider, so confirm which mode you need and test it on a staging copy.

Before adoption, run the extension in a staging environment with your target XWiki version and record the result so the upgrade plan includes it.

How a customization project moves from inventory to handover

The sequence turns an informal set of wiki customizations into a documented, tested and supportable configuration that your team can run and upgrade. Each step produces an artifact that the next step depends on, so gaps surface before production rather than after cutover.

  1. Inventory existing customizations and requirements

    The partner and your wiki owners list every existing customization: installed extensions, custom applications, skins, Velocity or Groovy macros, script services, custom classes, templates and any scripts run against the database or the file system. Each item is recorded with its owner, the business need it serves, the XWiki version it was built for and whether it is still used. The output is a written inventory with a keep, replace, retire or rebuild decision per item, signed off by the business owner. The step is done when no customization exists that is not on the list.

  2. Design the data model and extension boundaries

    Using the inventory, the team decides which needs are met by standard XWiki features, which by published extensions, and which require custom code. Structured data is modeled as XWiki classes with defined fields, validation and display, so content stays queryable and does not depend on free-text conventions. Custom code is confined to clearly named applications or extensions with stated interfaces, so upgrades touch fewer places. The output is a design document covering the class model, the list of extensions with their sources and versions, and the boundary of each custom component. Ask the partner to show which parts are standard configuration and which are code they will maintain.

  3. Build on a development instance

    Development happens on an instance that matches the target stack: the chosen XWiki line, the same database engine and servlet container as production, and the same extension versions. Code and configuration are kept in version control, and extension installations are recorded so they can be repeated. Permissions and sample spaces are created to exercise the design. The output is a working build in version control with a reproducible setup procedure. The step is done when a colleague who did not write the code can rebuild the development instance from the repository alone.

  4. Test functionally and rehearse the upgrade

    Functional tests cover each inventory item against its acceptance criteria, including permissions for each group, rendering of structured data, search behavior and any integrations. The upgrade rehearsal is a separate test: the build is moved to the target XWiki line on a copy of production data, and every extension is checked for compatibility with that version before the move. Failures are logged with the extension, version and fix applied. The output is a test report and a rehearsal log that shows the exact upgrade steps and their results. Ask the partner to commit in the statement of work to which XWiki line the rehearsal targets and to what data copy is used.

  5. Stage the release and verify on pre-production

    The release is deployed to a staging environment that mirrors production in configuration, network path and identity integration. Smoke tests, permission checks and a short user acceptance session by named business owners run against it. A backout plan is written and rehearsed, including how to restore the database and the XWiki data directory to the previous state. The output is a signed release record listing the versions deployed, the test results and the agreed go or no-go criteria. Production deployment follows only when those criteria are met.

  6. Deploy to production and hand over

    The production release is applied using the procedure from the rehearsal, with the backup taken immediately beforehand and verified. Post-release checks confirm login, rights, search and the custom applications on production. Handover includes a runbook covering installation and rebuild steps, extension update procedure, upgrade procedure with the compatibility checks, backup and restore, known limitations and the escalation path. The output is the runbook, a list of accounts and secrets locations held by your team, and a recorded walkthrough with the internal operators. The step is done when your team has performed one supervised extension update using only the runbook.

  7. Confirm ongoing ownership and support terms

    Before the project closes, the parties agree who maintains each custom component after handover, who reviews extension updates and security releases, and how changes to custom code are reviewed. If ongoing work is wanted, it is scoped separately as a support or retainer agreement with its own written terms. The output is a responsibility matrix that names an owner for every custom component and every extension. Ask the partner to state in the statement of work what remains their responsibility after go-live and what transfers to your staff.

Which customization work teams keep in-house and which they outsource

XWiki customization spans business decisions, data modeling, Java and Groovy code, skins and long-term maintenance. The work splits most cleanly when the internal team owns requirements and the rules that govern content, and a partner or specialist handles the code-heavy and test-heavy parts. A hybrid model is the common outcome, and the internal owner must keep control of what the wiki is for and what it runs.

Requirements and content ownership

Deciding which spaces exist, who owns each one, what a page must contain and which workflows the wiki supports is a business task that stays in-house. Teams usually keep this because only the people who run the knowledge base can judge whether a customization solves a real problem. The skills needed are process knowledge and a working understanding of XWiki spaces, pages and rights. Check that a named internal owner signs off every change request before any code is written.

Data model and structured data design

XWiki classes, objects and properties determine how structured data is stored, searched and reported, and a poor model is expensive to change later. Many teams design the model internally and ask a partner to review it, because the model shapes every page and every future extension. The skills needed are a solid grasp of the XWiki data model and of how queries will use it. Ask for a written model with example pages before build starts.

Java and Groovy extension development

Server-side extensions, Velocity and Groovy scripts, and Java components are where most customization risk sits. Teams often outsource the first build to a specialist, since it requires knowledge of the XWiki API, the servlet container and the extension packaging rules. Internal staff should still hold the source repository, review each merge and understand how the code is deployed. Confirm the extension's license and its dependencies before you accept delivery.

Skins, CSS and front-end work

Skins, stylesheets and templates change how every user sees the wiki, so they affect accessibility and brand as well as appearance. Many organizations outsource the initial skin because it is a bounded piece of work with clear visual acceptance criteria. The internal team should keep the design decisions and the review step. Ask who will maintain the skin when the XWiki version changes, since template markup is a common source of breakage.

Test automation and upgrade regression

Automated tests for custom pages, macros and rights rules catch breakage before an XWiki upgrade reaches users. A partner can build the suite quickly, but it only pays off if the internal team runs it on every upgrade and every extension change. The skills needed are test design, a staging environment that mirrors production and familiarity with the upgrade calendar. Ask for the test suite as a deliverable owned by the client.

Ongoing extension maintenance and security review

Every installed extension adds code to patch, review and retire, and it must be checked against each new release of the wiki. Teams commonly keep the approval and inventory of extensions in-house while outsourcing periodic security review and upgrade testing. The skills needed are release management, security review of Java and Groovy code and access control knowledge. Confirm who receives security notices and who decides when an extension is removed.

XWiki Docker image docs

What usually goes wrong with XWiki customizations and how to prevent it

Why does custom XWiki code break after a new release?

Custom code usually breaks because it depends on internal APIs, undocumented behavior or templates that changed between versions. Teams often write Groovy scripts, velocity templates or Java extensions against whatever worked on the day they were built, then upgrade without checking those dependencies. The preventive step is to keep a list of every custom component with its dependencies, then run an upgrade rehearsal on a copy of production before any change reaches users. Review the release notes for each version in the upgrade path, and treat any failing script as a defect with a named owner. Confirm the supported upgrade path with the XWiki release documentation before you schedule the work.

What happens when an XWiki extension maintainer stops updating it?

An abandoned extension can keep working for a while, then fail when XWiki or its servlet container changes underneath it. Community extensions in the xwiki-contrib projects are maintained by volunteers or individual teams, so activity levels vary. Before adopting an extension, check its repository for recent commits, open issues and compatibility notes for your XWiki line. Pin each extension to a tested version, record who owns it internally, and keep a plan for replacing it if no fix arrives. Ask whether a paid support subscription or a commercial alternative covers the extension, because that changes who is responsible for fixes.

How do scripting rights in XWiki become a security problem?

Scripting rights let a user run Groovy, Velocity or other server-side code inside wiki pages, so granting them broadly lets any editor run code on the server. The common mistake is giving script rights to a large group, such as all registered users, to fix one page quickly. Limit programming rights to a small, named group of administrators, and use the rights model at wiki, space and page level to keep them narrow. Review who holds these rights on a schedule, and check that guest access does not reach scripted content. Confirm the current rights settings against XWiki's security documentation during your hardening review.

Why does undocumented structured data break search and migration?

Structured data such as custom classes, object properties and form fields is indexed and exported in specific ways, so an undocumented schema makes search results odd and migrations unpredictable. A field renamed in one space or a class created without a description can look fine to users but confuse the search index, reports and any tool that maps Confluence content into XWiki. Keep a data dictionary that lists each class, its properties, the spaces that use it and its owner. Before a migration or upgrade, rebuild the index and test searches against known pages. Ask the migration team to map source fields to these classes in writing.

What goes wrong when a custom XWiki skin drifts from the default?

A skin that overrides many default templates becomes expensive to keep, because each upstream change must be merged by hand into the custom files. Over time the skin fixes display issues that the default has already solved, or misses new features that users expect. Keep overrides small, extend the default skin where possible, and document every template you replace with the reason for it. Track the differences from the default in version control, and include visual checks of key pages in each upgrade test. A short review each release shows whether the skin still matches what the core product provides.

Why is a missing test environment the biggest risk for XWiki changes?

Without a test environment, every extension install, skin change or script edit reaches users untested, and a failure becomes an outage in the live knowledge base. Build a staging instance that matches production in XWiki version, servlet container, database type and installed extensions. Copy a recent anonymized or access-controlled data set, run the upgrade there first, and keep a written rollback plan with a tested backup. Include a short checklist covering login, permissions, search, key macros and attachments. Ask any partner to show how they keep staging and production aligned before go-live.

What customizations add to XWiki running costs after go-live

This table lists the recurring costs that custom extensions, scripts and data models add once XWiki is in production, with who pays for each and what pushes it up. Read it as a checklist for building a running-cost estimate, then request written quotes for any paid tier, support plan or partner effort. The main takeaway is that custom code and extensions cost more over time than the initial build, mostly through upgrade rework and retesting.

Cost componentWho paysWhat drives it up
Maintenance of custom code per upgradeInternal platform team or implementation partner under a retainerHeavy use of internal APIs, custom Velocity or Groovy macros, and forks of third-party extensions
Extension compatibility checksInternal team, with partner support if contractedNumber of installed extensions, and how often the chosen XWiki line publishes releases you must follow
Pro subscription or support tierOrganization, paid to XWiki SAS or a resellerChoice of Starter, Basic, Business or Enterprise tier, the user count, and paid Pro applications you add
Staff time for scripting and data model changesInternal wiki administrators and developersFrequency of new application requests, changes to class definitions, and documentation of each change
Test environment hostingOrganization, in its own cloud or data centerNeed to mirror production data, number of extensions to test, and how many staging copies you run
Consulting and training daysOrganization, paid to XWiki SAS or a partnerBusiness or Enterprise support requirement for consulting, and turnover that requires retraining staff
Security review of extensionsInternal security team or external testerNumber of third-party extensions, frequency of security releases, and whether code is reviewed before each update

How XWiki customization differs by starting point and environment

A new deployment lets the team decide the customization rules before any custom code exists. The extra work is mostly governance: choosing which extensions are allowed, who can install them, and how custom applications are packaged so they survive upgrades. Without these decisions, early shortcuts become the hardest part of the first upgrade.

  • Extension policy: Decide which extensions from the XWiki extension repository and xwiki-contrib are approved, and record the owner and reason for each.
  • Custom code location: Keep custom applications, skins and scripts in version-controlled extension packages rather than edited directly in the wiki UI.
  • Scripting rights: Set who may create scripts or server-side code before users start building macros, since that right has security consequences.
  • Test baseline: Build a test instance from the same image and database variant as production so extension behavior is checked against the real stack.
  • Structured data design: Define classes and their fields early, because changing them later affects every page that uses them.

Before go-live, confirm which XWiki line you will run and whether each planned extension publishes compatibility with that line.

What you need to provide before a customization project starts

The partner needs a written inventory of every customization you want, with a business owner named for each item. For each one, list what it should do, which spaces, users or groups it touches, and whether it replaces an existing extension, script or macro. Include the customizations you already run, even informal ones, because a page that depends on an undocumented macro or a hand-edited skin file is the most common source of upgrade surprises. Alongside the inventory, provide access to a staging XWiki instance that matches production on the same XWiki line, the same servlet container and the same database engine (MySQL, PostgreSQL or MariaDB). A staging copy on a different line or database will hide the problems that matter most when you upgrade later.

You also need to settle three decisions before work begins. First, confirm the target XWiki line (stable, LTS or intermediate LTS), since extension compatibility and the upgrade path depend on it. Second, provide a source control repository for custom code, such as .xml page objects, Groovy or Velocity scripts, skin files and extension sources, with a code review process that a named person signs off on. Third, appoint one internal owner with authority to approve scope changes, production deployments and acceptance tests. Without that person, approvals stall and the schedule slips in ways that are hard to attribute.

Sample content matters as much as code. Provide anonymized or synthetic pages, attachments and user accounts that reflect your real structure, including nested spaces, large pages and the permission patterns you use, so customizations can be tested against realistic data. Then ask your own security team which rules apply to custom code: whether scripts that run server-side need a formal review, who may approve new extensions, whether Groovy or script macro rights may be granted to non-administrators, and how changes are logged. Get those answers in writing before the first line of code is written, because they determine how much review time your schedule must allow.

Questions buyers ask about XWiki customization before hiring help

What drives the cost of XWiki customization work?

The cost depends mainly on how many customizations are requested, how much of each depends on business logic, and how many integrations or data sources they touch. A single macro or skin change is far smaller than a custom application with its own rights model, data validation and reporting. Testing effort also grows with each extension, because every custom piece must be checked against each XWiki version you plan to run. Ask any provider for a quote built from a written scope listing each extension, its acceptance criteria, the environments it must run in and the testing expected before go-live. XWiki SAS publishes consulting at 1200 EUR per day, which requires a Business or Enterprise support plan, and training at 1500 EUR per day, as listed on its pricing page. Those published rates help you compare hourly effort, but they do not replace a scope.

How long does a XWiki extension or application project take?

Duration follows the scope, not the platform. A small skin adjustment or a single template change usually moves through review and testing quickly, while a custom application with data structures, rights, search behavior and user acceptance testing takes longer. The main variables are how many decisions are still open, how many stakeholders must approve the design, and how many environments the work must pass through. Ask for a timeline that shows design sign-off, build, a staging test on the exact XWiki version you run, and a go-live window. Be cautious with any timeline that does not name the version it was tested against.

Can our own team build XWiki extensions without outside help?

Yes, if your team has Java or Groovy skills, can work with XWiki's scripting and extension model, and has a test environment that mirrors production. Many teams start with XWiki's built-in structured data and macros, which need less code and are easier to upgrade. Custom Java extensions need build tooling, code review, packaging and a process for re-testing after each upgrade. Consider whether the people who will maintain the code after launch are the same people who build it. If not, plan documentation and handover from the start. An outside partner can build, document and hand over the work, or review your team's extensions before release.

What does the work need from our team?

Most of the effort on the client side is decision-making and access, not coding. Expect to provide a named business owner who can approve the requirements, a technical contact with access to the XWiki server, database and test environment, and people from each team who will test their spaces and forms. You will also need to share the current process you want to replace, sample content, and any identity or directory details the feature depends on. Set aside time for user acceptance testing, because issues found there are the most expensive to fix late. Confirm who approves production changes and how rollback is handled.

How do XWiki upgrades affect our custom code?

Custom code can break when XWiki changes APIs, templates, skins or the way extensions load, so every upgrade needs regression testing of each customization. Keep customizations in a version-controlled repository, prefer documented extension points over core file edits, and record which XWiki line you run. XWiki publishes a stable line, a long term support line and an intermediate LTS line, and the line you choose sets how often you must upgrade. Before an upgrade, test each extension on a copy of production with the target version, then check the release notes for deprecations. Ask any provider how they will keep custom code aligned with future upgrades and whether maintenance is included.

When should we choose a XWiki Pro app instead of custom work?

Choose a Pro app when an existing, supported application covers most of your need, such as Active Directory or Azure Active Directory SSO, the Office365 or Google Apps connectors, polls, calendars or diagrams. Its licensing cost is set by the subscription tier, which XWiki SAS lists as Starter, Basic, Business or Enterprise, with user limits on each tier. Custom work makes sense when the process is specific to your organization and no product matches it closely. Compare the subscription cost, the internal time to adopt the Pro app, and the cost of building and maintaining an equivalent extension. Confirm the license terms, supported versions and tier limits with XWiki SAS before deciding.

How DeployOpen scopes, builds and hands over XWiki customizations

DeployOpen plans, implements, customizes, integrates, documents and supports self-hosted open-source platforms inside your own infrastructure, and XWiki extensions and customizations follow the same written-scope approach. The work is agreed up front, built and tested against your XWiki line, and handed over with documentation your team can maintain through future upgrades.

How we scope

  • We list the extensions, applications, skins and structured data types you need, and mark which exist already and which must be built.
  • We confirm whether your XWiki line is stable or LTS, since that choice decides which extension versions you can run.
  • Engagements are fixed-scope, so deliverables and timelines for customization work are agreed in writing before build starts.

How we build

  • We install and test extensions in a staging instance that matches your production database and servlet container.
  • Custom code is kept in version control with a documented process for packaging, reviewing and promoting changes.
  • Each customization is tested for rights behavior, so scripting and page-level permissions match the access model you approved.

How we hand over

  • You receive a written record of every extension, version, configuration key and custom application, with its owner and purpose.
  • Runbooks cover installing, updating and rolling back each extension, so your team can repeat the steps without us.
  • We walk your administrators through the upgrade test process so they can check extensions before moving to a new release.

How we support

  • Ongoing support, upgrades and continuous testing of customizations are available as retainers after go-live.
  • Before each XWiki upgrade, we can retest custom extensions and applications against the target release and report any breaks.
  • Ask any proposal to state which extension versions are covered, who handles security updates for custom code, and how changes are approved.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.