Skip to main content

 Configuration

Configuration manual for PageSeeder

Document config

When PSML documents of any type are created, the options specified in the document config are applied. Where some or all of the document config has not been specified for a particular document type, any missing values are inherited from the default.

The following articles describe the key XML document config elements and their relationship to PSML documents:

  • <creation> – where the documents are saved and what conventions are used to name them.
  • <editing> – which editing interface should be configured to open the content.
  • <labeling> – which labels are available in this document.
  • <roles> – which content roles are available in this document (different to user roles).
  • <publishing> – which publishing options should be available to a particular type.

File location

The document config is located in the folder for the document type that it describes, and must be named document-config.xml:

/WEB-INF/config/template/[project]/psml/[document type]/document-config.xml

It can be created in the manage document types page or by import on the Template files page.

When editing this config file in PageSeeder, pressing ctrl-space displays autocomplete options to make editing easier.

 

File content

The document config follows this structure:

<document-config>
  <creation> ... </creation>
  <editing> ... </editing>
  <labeling> ... </labeling>
  <roles> ... </roles>
  <publishing> ... </publishing>
</document-config>
Created on , last edited on