==================
CPSDocument How-to
==================

:Revision: $Id: CPSDocument-HOWTO.txt 30435 2005-12-08 20:28:42Z dkuhlman $

.. sectnum::    :depth: 4
.. contents::   :depth: 4


For a CPSDocument documentType
==============================

portal_schema:

1. Create your fields.

2. Title is required and description highly recommended.

3. Title is an unique title or a short title displayed in folders

4. Description can be used like a resume displayed in folders
  
portal_layout:

1. Create your widgets and your layout.
  
create layout_documentType_xxx:
  
1. layout_documentType_edit and layout_documentType_view.
   Actually, you have to create them in
   CPSDocument/skins/cps_document/

portal_types:

1. Create CPS Flexible Type Information and give schema, layout
   and layout style.

2. Prefix for your documentType.

3. Inform Workspace and Section portal type.

.cps_workflow_configuration

1. Add the workflow_content_wf where it's necessary.
