Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Instructions:

  1. Look for the Code Block&lt;form<form-value-pairs&gt;pairs> element in input-forms.xml.
  2. Look for the
    Code Block
    &lt;value-pairs&gt;
    <value-pairs> element for the Dublin Core element whose values you wish to change.
  3. Add or change a
    Code Block
    &lt;pair&gt;
    <pair> element, where the
    Code Block
    &lt;displayed-value&gt;
    <displayed-value> element contains what the submitter sees in the dropdown box, and the
    Code Block
    &lt;stored-value&gt;
    <stored-value> element contains what DSpace should archive as the information's label:
    Code Block
    &lt;pair&gt; 
    Code Block
    
     <pair>
        &lt;displayed-value&gt;Gov<displayed-value>Gov't Doc #&lt;#</displayed-value&gt;
    Code Block
    value>
        &lt;stored-value&gt;govdoc&lt;/stored-value&gt;
    Code Block
    &lt;/pair&gt; <stored-value>govdoc</stored-value>
     </pair>
  4. Stop and restart Tomcat (See Quick Restart in Rebuild + DSpace).

Notes:

  • This set of instructions changes the existing choices when DSpace displays an option-box or dropdown menu, as for the Dublin Core "type" and "language" elements. It does not add a new submission widget/field to the user interface; to do this, see Alter + submission + input + forms.