スキル一覧に戻る
umbraco

umbraco-sections

by umbraco

1🍴 1📅 2026年1月21日
GitHubで見るManusで実行

SKILL.md


name: umbraco-sections description: Implement sections in Umbraco backoffice using official docs version: 1.0.0 location: managed allowed-tools: Read, Write, Edit, WebFetch

Umbraco Sections

What is it?

Sections are top-level navigation items in the Umbraco backoffice that appear alongside default options like Content, Media, and Settings. They serve as a home for custom content and functionality, providing a blank canvas that can be extended with dashboards, sidebars, and section views. Sections require permission configuration for user groups to access them.

Documentation

Always fetch the latest docs before implementing:

Reference Example

The Umbraco source includes a working example:

Location: /Umbraco-CMS/src/Umbraco.Web.UI.Client/examples/section-sidebar-menu-expansion/

This example demonstrates section sidebar menu expansion patterns. Study this for sidebar customization.

If you need to explain these foundational concepts when implementing sections, reference these skills:

  • Context API: When implementing section contexts or explaining how section extensions communicate

    • Reference skill: umbraco-context-api
  • Conditions: When implementing permissions, user group access, visibility controls, or section restrictions

    • Reference skill: umbraco-conditions
  • Routing: When implementing pathnames, navigation patterns, URLs, or section routing

    • Reference skill: umbraco-routing

Workflow

  1. Fetch docs - Use WebFetch on the URLs above
  2. Ask questions - What will the section contain? Dashboards? Trees? Sidebar needed?
  3. Generate files - Create manifest for section + related extensions based on latest docs
  4. Explain - Show what was created and how to configure permissions

Minimal Examples

Basic Section (umbraco-package.json)

{
  "type": "section",
  "alias": "My.Section",
  "name": "My Section",
  "meta": {
    "label": "My Section",
    "pathname": "my-section"
  }
}

Section with Icon (manifest.ts)

export const manifests = [
  {
    type: "section",
    alias: "My.CustomSection",
    name: "Custom Section",
    meta: {
      label: "Custom",
      pathname: "custom-section"
    },
    conditions: [
      {
        alias: "Umb.Condition.SectionUserPermission",
        match: "My.CustomSection"
      }
    ]
  }
];

Section with Dashboard (manifest.ts)

export const manifests = [
  {
    type: "section",
    alias: "My.Section",
    name: "My Section",
    meta: {
      label: "My Section",
      pathname: "my-section"
    }
  },
  {
    type: "dashboard",
    alias: "My.Section.Dashboard",
    name: "My Section Dashboard",
    element: () => import('./dashboard.element.js'),
    meta: {
      label: "Welcome",
      pathname: "welcome"
    },
    conditions: [
      {
        alias: "Umb.Condition.SectionAlias",
        match: "My.Section"
      }
    ]
  }
];

Section with Sidebar (manifest.ts)

export const manifests = [
  {
    type: "section",
    alias: "My.Section",
    name: "My Section",
    meta: {
      label: "My Section",
      pathname: "my-section"
    }
  },
  {
    type: "sectionSidebarApp",
    alias: "My.Section.Sidebar",
    name: "My Section Sidebar",
    element: () => import('./sidebar.element.js'),
    conditions: [
      {
        alias: "Umb.Condition.SectionAlias",
        match: "My.Section"
      }
    ]
  }
];

Key Properties

  • type: Always "section"
  • alias: Unique identifier for the section
  • name: Display name in backoffice
  • meta.label: Label shown in navigation
  • meta.pathname: URL route for the section
  • element: Optional custom element (not recommended - use dashboards instead)
  • conditions: Control visibility and access

Granting Permissions

To enable a custom section for users:

  1. Navigate to Users section in Umbraco backoffice
  2. Select User Groups menu item
  3. Choose the user group to configure
  4. Click the Choose button under Sections
  5. Select your custom section
  6. Save changes

Built-in Sections

  • Umb.Section.Content - Content management
  • Umb.Section.Media - Media library
  • Umb.Section.Settings - System settings
  • Umb.Section.Packages - Package management
  • Umb.Section.Users - User management
  • Umb.Section.Members - Member management

That's it! Always fetch fresh docs, keep examples minimal, generate complete working code.

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です