Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning
titleAs of DSpace 3.0 this code is obsolete

DSpace 3.0 includes its own version of Document Type Based Submission (see Submission User Interface docs).  The older addon code documented below is now obsolete and will not work in DSpace 3 or above.

Outline

In DSpace, you are able to use input-forms.xml to setup different metadata field set for different collections in the submission process. However, the customization in collection-level is sometimes not sufficient. If your DSpace repository has a collection with multiple document-types and each document type with different metadata field set, you will have to mix up all the fields together in the submission process. Not only is it not a friendly setup, it may also confuse your end user. This page will provide you a solution which allow you to customize the input forms based on document types.

...

In input-forms.xml, you can configure multiple describe pages for the submission process. To setup a document-type based submission, you need at least two pages. The first page will only contains the fields commonly used in the collection, including the type field (corresponding to dc.type.) And in the second page, you can describe different fields based on document types. That means you need configure multiple second pages and give them a type-name which matches the name in your dc.type field. For example, if you have "Conference Paper", "Journal Article" and "Thesis and Disertation" in dc.type, you can setup your pages as below:

Code Block

  <page n="2" type-name="">
         It becomes a default page for all document types if there is no type-name specified or type-name is empty
         put your fields here
  </page>
  <page n="2" type-name="Conference Paper">
         put your Conference Paper fields here
  </page> 
  <page n="2" type-name="Journal Article">
         put your Journal Article fields here
  </page> 

...