orchardcore-content-fields

Generate Orchard Core content field migrations using AlterPartDefinitionAsync and field-specific settings.

13|3|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/CrestApps/CrestApps.AgentSkills --skill orchardcore-content-fields
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: orchardcore-content-fields
Source: https://github.com/CrestApps/CrestApps.AgentSkills/tree/main/src/CrestApps.AgentSkills.Skills/orchardcore/orchardcore-content-fields
Command: npx skills add https://github.com/CrestApps/CrestApps.AgentSkills --skill orchardcore-content-fields

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Solves the challenge of adding and configuring Orchard Core content fields by providing complete migration templates, consistent field settings, and guidance for editors and display configurations.

Core Features & Use Cases

  • Comprehensive migration templates for all built-in field types (TextField, HtmlField, NumericField, BooleanField, DateField, DateTimeField, TimeField, ContentPickerField, MediaField, LinkField, MultiTextField, UserPickerField, YoutubeField, TaxonomyField, LocalizationSetContentPickerField).
  • Patterns for ContentPartFieldSettings (DisplayName, Description, Editor, DisplayMode, Position) and field-specific Settings classes (TextFieldSettings, NumericFieldSettings, etc.).
  • Guidance on integrating third-party modules and ensuring they are installed in the web project, plus migration examples across common content types.

Quick Start

Define a new content part and apply the provided migration templates to add and configure each field type.

Frequently Asked Questions about orchardcore-content-fields

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Orchard Core content fields using migrations?

Orchard Core content field migrations use AlterPartDefinitionAsync to automate field setup. This Skill generates migration templates applying field-specific Settings classes for all built-in types like TextField, HtmlField, and NumericField.

What content field types are supported in Orchard Core migrations?

Supported Orchard Core content fields include TextField, HtmlField, NumericField, BooleanField, DateField, DateTimeField, TimeField, ContentPickerField, MediaField, LinkField, MultiTextField, UserPickerField, YoutubeField, TaxonomyField, and LocalizationSetContentPickerField.

How do I set DisplayName and Editor settings for a content part field?

Use ContentPartFieldSettings to set DisplayName, Description, Editor, DisplayMode, and Position. Apply these alongside field-specific Settings classes like TextFieldSettings within your AlterPartDefinitionAsync migration.

Can I use third-party module content fields in Orchard Core migrations?

Yes, Orchard Core migrations support third-party module content fields. Ensure the modules are installed in your web project, then use the provided migration examples to apply their specific field settings.

What's the best way to add a ContentPickerField to an Orchard Core content part?

Use a migration template calling AlterPartDefinitionAsync to add a ContentPickerField. Configure it by applying ContentPartFieldSettings for positioning and ContentPickerFieldSettings for field-specific behavior.