Umbraco Entity Create Option Action

VerifiedSafe

Implement custom entity create option actions in Umbraco backoffice. Extend creation workflows with customizable options, modals, and navigation for enhanced user experience.

Sby Skills Guide Bot
DevelopmentIntermediate
3/11/2026
Claude Code
#umbraco#backoffice#extensions#typescript#entity-actions

Recommended for

Automated summary

Generates entity create option actions for the Umbraco backoffice based on the official documentation fetched via WebFetch.

Strengths

  • Requires fetching the latest Umbraco docs before any code is generated
  • Provides complete skeletons: a typed manifest and a class extending UmbEntityCreateOptionActionBase
  • Covers common variants: plain execution, modal opening, and navigation through getHref
  • Points to companion skills (modals, routing) when the scenario needs them

Limitations

  • Scope is limited to entity create option actions, not full entity actions or their global registration
  • The examples are stubs: the actual creation logic must still be written
  • Relies on network access to docs.umbraco.com and the Read/Write/Edit/WebFetch tools
When to use it

Use this skill when you need to add a custom option to the entity creation dialog in the Umbraco backoffice.

When not to use it

Do not use it for other Umbraco extension types (dashboards, property editors) or for work outside the backoffice.

Security analysis

Safe
Quality score88/100

The skill only instructs fetching official Umbraco documentation and generating/editing local TypeScript files. It does not include destructive commands, credential exfiltration, obfuscated payloads, or attempts to disable safety controls.

No concerns found

How this analysis is made

Examples

Create option opening a modal
Create an Umbraco entity create option action for the 'user' entity type that opens a modal to collect a name and email, then calls the user creation API.
Create option with navigation
Add an entity create option action that redirects the user to a custom wizard page instead of creating the entity directly, using getHref.
Custom creation path for documents
Implement a create option action for document entities labelled 'Create from template' with an icon and weight, following the latest Umbraco docs.

name: umbraco-entity-create-option-action description: Implement entity create option actions in Umbraco backoffice using official docs version: 1.0.0 location: managed allowed-tools: Read, Write, Edit, WebFetch

Umbraco Entity Create Option Action

What is it?

Entity Create Option Actions add customizable options when creating entities. These options appear in a create options dialog when the "Create" entity action is selected, allowing users to choose between different creation methods or paths. This enables extensibility where other developers can add their own creation options to existing workflows.

Documentation

Always fetch the latest docs before implementing:

  • Main docs: https://docs.umbraco.com/umbraco-cms/customizing/extending-overview/extension-types/entity-create-option-action
  • Entity Actions: https://docs.umbraco.com/umbraco-cms/customizing/extending-overview/extension-types/entity-actions
  • 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

  • Modals: When the create option opens a modal dialog

    • Reference skill: umbraco-modals
  • Routing: When the create option navigates to a different view

    • Reference skill: umbraco-routing

Workflow

  1. Fetch docs - Use WebFetch on the URLs above
  2. Ask questions - What entity type? What creation options needed? What happens on selection?
  3. Generate files - Create manifest + action class based on latest docs
  4. Explain - Show what was created and how to test

Minimal Examples

Manifest (manifests.ts)

import type { ManifestEntityCreateOptionAction } from '@umbraco-cms/backoffice/extension-registry';

const manifest: ManifestEntityCreateOptionAction = {
  type: 'entityCreateOptionAction',
  alias: 'My.EntityCreateOptionAction',
  name: 'My Create Option',
  weight: 100,
  api: () => import('./my-create-option-action.js'),
  forEntityTypes: ['user'],
  meta: {
    icon: 'icon-add',
    label: 'Create with Template',
    additionalOptions: false,
  },
};

export const manifests = [manifest];

Action Implementation (my-create-option-action.ts)

import { UmbEntityCreateOptionActionBase } from '@umbraco-cms/backoffice/entity-create-option-action';
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';

export class MyCreateOptionAction extends UmbEntityCreateOptionActionBase {
  constructor(host: UmbControllerHost, args: { unique: string | null; entityType: string }) {
    super(host, args);
  }

  override async execute() {
    // Perform custom creation logic
    console.log('Creating with custom option for entity type:', this.entityType);

    // Could open a modal, navigate somewhere, or perform API calls
    alert('Custom create option executed!');
  }
}

export default MyCreateOptionAction;

Create Option with Modal

import { UmbEntityCreateOptionActionBase } from '@umbraco-cms/backoffice/entity-create-option-action';
import { UMB_MODAL_MANAGER_CONTEXT } from '@umbraco-cms/backoffice/modal';

export class MyCreateOptionAction extends UmbEntityCreateOptionActionBase {
  override async execute() {
    const modalManager = await this.getContext(UMB_MODAL_MANAGER_CONTEXT);

    const modal = modalManager.open(this, MY_CREATE_MODAL, {
      data: {
        entityType: this.entityType,
        parentUnique: this.unique,
      },
    });

    await modal.onSubmit();
  }
}

Create Option with Navigation

import { UmbEntityCreateOptionActionBase } from '@umbraco-cms/backoffice/entity-create-option-action';

export class MyCreateOptionAction extends UmbEntityCreateOptionActionBase {
  override async getHref() {
    // Return a URL to navigate to instead of execute()
    return `/section/my-section/workspace/my-workspace/create/${this.unique}`;
  }

  override async execute() {
    // Not called when getHref() returns a value
  }
}

Meta Properties

  • icon - Icon to display for the option
  • label - Display label for the option
  • additionalOptions - If true, shows as a secondary/additional option

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

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/umbraco-entity-create-option-action-mmlj2o9e/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/umbraco-entity-create-option-action-mmlj2o9e' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/umbraco-entity-create-option-action-mmlj2o9e/download' --output '.skill-downloads/umbraco-entity-create-option-action-mmlj2o9e/SKILL.md.part' && mv '.skill-downloads/umbraco-entity-create-option-action-mmlj2o9e/SKILL.md.part' '.skill-downloads/umbraco-entity-create-option-action-mmlj2o9e/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Read, Write, Edit, WebFetch

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/umbraco-entity-create-option-action-mmlj2o9e/SKILL.md' && test -s '.skill-downloads/umbraco-entity-create-option-action-mmlj2o9e/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/umbraco-entity-create-option-action' && cp -R '.skill-downloads/umbraco-entity-create-option-action-mmlj2o9e' '.claude/skills/umbraco-entity-create-option-action'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/umbraco-entity-create-option-action-mmlj2o9e'

openskills read 'umbraco-entity-create-option-action-mmlj2o9e'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/umbraco-entity-create-option-action-mmlj2o9e/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills