Saturday, 13 February 2016

Dspace Customization-3



Customization: Submit/ Input Form

Submission form is located in home/dspace/config/input-forms.xml. Your custom form description needs to define the "value pairs" for any fields with input types that refer to them. Do this by adding a value-pairs element to the contents of form-value-pairs.
Add form values
·         Look for the <form-value-pairs> element in input-forms.xml.
·         Look for the <value-pairs> element for the Dublin Core element whose values
you wish to change.
·         Add or change a <pair> element, where the <displayed-value> element
contains what the submitter sees in the dropdown box, and the <stored-value>
element contains what DSpace should archive as the information’s label:
<pair>
<displayed-value>Staff Publications</displayed-value>
<stored-value>Staff Publications</stored-value>
</pair>
·         Stop and restart Tomcat
Figure 3 shows the screen shorts of added form values.





Figure-3

No comments: