Wednesday, October 26, 2016

Add a new item type in item submission page

Users can add a new item type (e.g. PhD Theses) to default item type list.

Open following file in a terminal;

sudo su
leafpad /dspace/config/input-forms.xml

Enable line numbers (Options > Line Numbers)
Go to the line number 264.

Find the script for item types;

Copy an existing code for an item type.

<pair>
       <displayed-value>Animation</displayed-value>
       <stored-value>Animation</stored-value>

</pair>

Add new value and paste between any default item types.

<pair>
       <displayed-value>PhD Theses</displayed-value>
       <stored-value>PhD Theses</stored-value>

</pair> 

Save and close the file.
Restart Tomcat and see the changes.
The same way user  can add new languages.

No comments:

Post a Comment