The configuration of submission user interface is based, from Dspace 7.x on those xml files:

  • [dspace]/config/item-submission.xml

  • [dspace]/config/submission-forms.xml

To setup them you can follow the specific page of Dspace site.

Beware: form names must NOT contain dots or blank spaces, otherwise DSpace will not load the form correctly. For complex form names use - as separator (e.g. this-is-the-form-name).

DSpace-CRIS adds this configuration options in submission-forms.xml:

  1. Inside node <field> leaf <readonly> you can insert one of those strings: all|submission|workflow. The leaf <readonly> is optional, if it is present the field is a readonly form element.

    1. If it contains all the field is ‘readonly’ in submission forms and in approvation workflows

    2. If it contains submissionthe field is ‘readonly’ only in submission forms

    3. If it contains workflowthe field is ‘readonly’ only in submission approvation workflows

  2. Configuration of nested metadata. They are metadata composed from two or more metadata, combined together. To display them see Layout and data security configuration tool. To create them:

    1. Decide the fields to aggregate together.

    2. Decide the main field, the first to show.

    3. Inside a standard <form name=”XXX”> tag insert the schema-element-qualifier of main field inside tag <field>… </field> with <input type>='group|inline-group' and specific <label> and <repetable> tags.

    4. Create a new form with name: “[form name]-[schema of main field]-[element of main field]-[qualifier of main field, only if present in main field]

    5. Insert inside it the main field as first with a standard <input type>…</<input type>

    6. Insert inside the second field

    7. More field if they are present.

    8. Use ‘inline-group’ if you want all metadata on the same line of form.

    9. Example:

      <form name="publication">
       ... 
       <row>
        <field> 
         <dc-schema>dc</dc-schema>
         <dc-element>contributor</dc-element>
         <dc-qualifier>author</dc-qualifier>
         <label>Authors</label>
         <input-type>group</input-type>
         <repeatable>true</repeatable>
         <required />
         <hint>Enter the names of the authors of this item.</hint>
         </field>
       </row> 
        ...
      </form>
      ...
      <form name="publication-dc-contributor-author">
       <row>
        <field>
         <dc-schema>dc</dc-schema>
         <dc-element>contributor</dc-element>
         <dc-qualifier>author</dc-qualifier>
         <label>Author</label>
         <input-type>onebox</input-type>
         <repeatable>false</repeatable>
         <required>You must enter at least the author.</required>
         <hint>Enter the names of the authors of this item in the form Lastname, Firstname [i.e. Smith, Josh or Smith, J].</hint>
        </field>
       </row>
       <row>
        <field>
         <dc-schema>oairecerif</dc-schema>
         <dc-element>author</dc-element>
         <dc-qualifier>affiliation</dc-qualifier>
         <label>Affiliation</label>
         <input-type>onebox</input-type>
         <repeatable>false</repeatable>
         <required />
         <hint>Enter the affiliation of the author as stated on the publication.</hint>
        </field>
       </row>
      </form>


  • No labels