umbraco-conditions
Umbraco Conditions
What is it?
Extension Conditions enable developers to declare requirements that must be met before an extension becomes available in the backoffice. They function as gatekeeping mechanisms controlling when and where extensions appear based on context like section, workspace, user permissions, or content type. Multiple conditions use AND logic—all must pass for the extension to display.
Documentation
Always fetch the latest docs before implementing:
- Main docs: https://docs.umbraco.com/umbraco-cms/customizing/extending-overview/extension-conditions
- Extension Types: https://docs.umbraco.com/umbraco-cms/customizing/extending-overview/extension-types
- Foundation: https://docs.umbraco.com/umbraco-cms/customizing/foundation
Reference Example
The Umbraco source includes a working example:
Location: /Umbraco-CMS/src/Umbraco.Web.UI.Client/examples/entity-content-type-condition/
This example demonstrates a custom condition that checks entity content type. Study this for patterns on creating custom conditions.
More from umbraco/umbraco-cms-backoffice-skills
umbraco-backoffice
Umbraco backoffice extension customisation - complete working examples showing how extension types combine
183umbraco-controllers
Understand and create controllers in Umbraco backoffice (foundational concept)
169umbraco-dashboard
Implement dashboards in Umbraco backoffice using official docs
168umbraco-extension-template
Create new Umbraco backoffice extensions using the official dotnet template
168umbraco-quickstart
Quick setup for Umbraco extension development - creates instance, extension, and registers it
166umbraco-property-editor-ui
Implement property editor UIs in Umbraco backoffice using official docs
163