DSpace metadata template for separate community

I am new to DSpace. I want to create a new community 'Ongoing projects' and all the submissions related to that community should have different metadata compared to normal submission. How to achieve this? Any guide will be great.

Your support on this regard is highly appreciated.

updated input-forms.xml

 <form-map>
   <name-map collection-handle="2020/11" form-name="ongoing-projects" />
   <name-map collection-handle="default" form-name="traditional" />
 </form-map>

 <form-definitions>

   <form name="ongoing-projects">
     <page number="1">
       <field>
         <dc-schema>dc</dc-schema>
         <dc-element>department</dc-element>
         <dc-qualifier></dc-qualifier>
         <repeatable>false</repeatable>
         <label>Department/ Center/ Other</label>
         <input-type>onebox</input-type>
         <hint>Enter the Department/ Center or other organizasional unit of the research project.</hint>
         <required>You must enter an organizational unit for this research project.</required>
       </field>

       <field>
         <dc-schema>dc</dc-schema>
         <dc-element>title</dc-element>
         <dc-qualifier></dc-qualifier>
         <repeatable>false</repeatable>
         <label>Title of the research project</label>
         <input-type>onebox</input-type>
         <hint>Enter the main title of the research project.</hint>
         <required>You must enter a title for this research project.</required>
       </field>

       <field>
         <dc-schema>dc</dc-schema>
         <dc-element>start</dc-element>
         <dc-qualifier></dc-qualifier>
         <repeatable>false</repeatable>
         <label>Project starting date</label>
         <input-type>onebox</input-type>
         <hint>Enter the start date of the research project.</hint>
         <required>You must enter the start date for the research project.</required>
       </field>
       <field>
         <dc-schema>dc</dc-schema>
         <dc-element>end</dc-element>
         <dc-qualifier></dc-qualifier>
         <repeatable>false</repeatable>
         <label>Project ending date</label>
         <input-type>onebox</input-type>
         <hint>Enter the ending date of the research project.</hint>
         <required>You must enter a ending date for the research project.</required>
       </field>

       <field>
         <dc-schema>dc</dc-schema>
         <dc-element>status</dc-element>
         <dc-qualifier></dc-qualifier>
         <repeatable>false</repeatable>
         <label>Status of the project</label>
         <input-type>onebox</input-type>
         <hint>Enter the status of the project.</hint>
         <required>You must enter the status of the project.</required>
       </field>
     </page>
   </form>

1 answer

  • answered 2020-11-20 12:02 MartinW

    Metadata input forms for the submission process are defined in input-forms.xml.

    You define the input forms for your “Ongoing projects” in the <form-definitions> section, and then map them to collections (not communities) in the <form-map> section of the document like this:

    <form-map>
        <name-map collection-handle=“handle-prefix/suffix" form-name=“ongoing-projects" />
        <name-map collection-handle="default" form-name="traditional" />
    </form-map>
    

    Please have a look at the Submission User Interface section of the documentation.