PloneDocumentation
  • Documentation
  • Developing for Plone
  • Programming Plone
  • Content management
  • Archetypes
  • Previous
  • Next

Warning

This version is valid for an outdated version of Plone: 4.X. Use the Version drop-down above to go to the Plone 6 or Plone 5 versions

  • Introduction
  • Quickstart
  • Working with Content
  • Adapting & Extending Plone
  • Installing, Managing and Updating Plone
  • Developing for Plone
    • Developing add-ons
    • Programming with Plone
      • Programming Plone
        • Getting started
        • HTTP serving and traversing site data
        • Views, viewlets and layers
        • Content management
          • Creating objects
          • Listing objects
          • Manipulating objects
          • Deleting
          • Renaming content
          • Content types
          • Workflows
          • Content identification (ids)
          • Ownership of content
          • Timestamps
          • Dynamic views
          • Behaviors
          • History and versioning
          • Importing and exporting content
          • Eventish content types
          • Content rules
          • Archetypes
            • Fields and widgets
            • Field storages
            • Archetypes ReferenceFields
            • Customizing editing interface
            • DataGridField
            • Validators
            • Files
            • Converting one Content Type into another
            • Templates
            • References
          • Dexterity
        • Models, forms, fields and widgets
        • ZODB, persistency and transactions
        • Functionality and features
        • Queries, search and indexing
        • Internationalization (i18n)
        • Users and members
        • Security
        • Sessions and cookies
        • Images
        • Syndication
        • Miscellaneous information
    • Developing for Plone Core
    • Dev helper packages
    • Importing content from other systems
    • Tutorials
  • Appendices
  • About this documentation
  • License for Plone Documentation
  • Asking for help
Table Of Content

Archetypes¶

Archetypes is a subsystem to create content types in Plone 2.x, 3.x and 4.x. Dexterity is replacing it, and is available in 4.1+, becoming the default content type system in Plone 5. Archetypes will remain available through the Plone 5 series.

  • Fields and widgets
    • Introduction
    • Getting hold of schema objects
    • Schema introspection
    • Field name
    • Accessing Archetypes field value
    • Validating objects
    • Checking permissions
    • Modifying all fields in schema
    • Reordering fields
    • Hiding widgets
    • Rendering widget
    • Creating your own Field
    • Automatically generating description based on body text
    • Vocabularies
    • Rendering single field
    • Hiding widgets conditionally
    • Dynamic field definitions
  • Field storages
    • AttributeStorage
    • AnnotationStorage
    • SQLStorage
    • FSSStorage
  • Archetypes ReferenceFields
    • Introduction
  • Customizing editing interface
    • Remove metadata tabs
  • DataGridField
    • Basics
    • CheckboxColumn
    • Other resources
  • Validators
    • Introduction
    • List of default validators
    • Creating a validator
  • Files
    • Download URL for files for ATFile content
    • Checking whether a File field has uploaded content
    • Setting max file size to FileField and ImageField
  • Converting one Content Type into another
    • Converting Pages into News Items
    • Converting Images into News Items
  • Templates
    • Introduction
    • The template loading mechanism
  • References
    • Introduction
    • Using references
  • Documentation
  • Developing for Plone
  • Programming Plone
  • Content management
  • Archetypes
  • Previous
  • Next
Further help resources:
  • Community discussion
  • Stackoverflow
  • IRC Chat
More info on the Plone project:
  • Plone Foundation
  • Providers & Consultants
About this documentation:
  • Contribute
  • These docs on Github
Download:
  • Plone
  • Plone add-ons
Plone

The text and illustrations in this website are licensed by the Plone Foundation under a Creative Commons Attribution 4.0 International license. Plone and the Plone® logo are registered trademarks of the Plone Foundation, registered in the United States and other countries. For guidelines on the permitted uses of the Plone trademarks, see https://plone.org/foundation/logo All other trademarks are owned by their respective owners. Hosted by Rackspace.

This page uses Google Analytics to collect statistics. You can disable it by blocking the JavaScript coming from www.google-analytics.com.