umbraco-global-context
Umbraco Global Context
What is it?
Global contexts create a shared, type-safe layer of data and functions accessible throughout the backoffice. Unlike scoped contexts (like Workspace Contexts), global contexts persist for the entire backoffice session. Use them for sharing state between extensions, managing centralized services, or coordinating communication. Note: Prefer more specific context types when possible - Umbraco uses global contexts sparingly.
Documentation
Always fetch the latest docs before implementing:
- Main docs: https://docs.umbraco.com/umbraco-cms/customizing/extending-overview/extension-types/global-context
- Context API: https://docs.umbraco.com/umbraco-cms/customizing/foundation/context-api
- Foundation: https://docs.umbraco.com/umbraco-cms/customizing/foundation
- Extension Registry: https://docs.umbraco.com/umbraco-cms/customizing/extending-overview/extension-registry
Related Foundation Skills
-
Context API: For understanding context consumption patterns
- Reference skill:
umbraco-context-api
- Reference skill:
-
State Management: For reactive state within contexts
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