Hi Marie-Helene,
It looks like you can only use dc terms for the value-pairs. See
https://wiki.duraspace.org/display/DSDOC18/Submission+User+Interface#SubmissionUserInterface-AddingValue-Pairs
. Looking at my input-forms.xml would be dc-term="identifier" or, for a
qualified value, dc-term="identifier_qualifier". I hope that helps.
B--
From: Vezina Marie-Helene [mailto:[email protected]]
Sent: Thursday, December 06, 2012 3:15 PM
To: [email protected]
Subject: [Dspace-tech] input-forms.xml and non-dc schema
I'm willing to upgrade to Dspace 1.8.2 XMLUI and I'm trying to customize the
submission form by editing input-forms.xml.
I have 2 schemas in my metadata registry: dc
(http://dublincore.org/documents/dcmi-terms/) and etd
(http://www.ndltd.org/standards/metadata/etdms/1.0/).
Within the input-forms.xml form I have mostly dc elements plus a few elements
from the etd schema as dropdown value (in fact etd.degree.name,
etd.degree.level, etd.degree.discipline), ex.:
<field>
<dc-schema>etd</dc-schema>
<dc-element>degree</dc-element>
<dc-qualifier>name</dc-qualifier>
<repeatable>false</repeatable>
<label>* Degree</label>
<input-type value-pairs-name="grade">dropdown</input-type>
<hint>Select the degree you will be granted upon completion of your
programme.</hint>
<required>You must select a degree.</required>
</field>
(...)
<value-pairs value-pairs-name="grade" dc-term="degree">
<pair>
<displayed-value>Select...</displayed-value>
<stored-value/>
</pair>
<pair>
<displayed-value>M.A.</displayed-value>
<stored-value>M.A.</stored-value>
</pair>
<pair>
<displayed-value>M. Sc.</displayed-value>
<stored-value>M. Sc.</stored-value>
</pair>
<pair>
<displayed-value>Ph. D.</displayed-value>
<stored-value>Ph. D.</stored-value>
</pair>
(...)
</value-pairs>
Changes for the etd elements appear in the user interface but DSpace ***doesn't
store the chosen value*** in the database as expected.
I tried with: dc-term="degree", dc-term="degree_name", dc-term="degree.name"...
without success
[it's working great with actual version 1.5.1 JSPUI only with dc-term="degree"]
Any idea?
Marie-Hélène Vézina
Librarian · Digital Library Initiatives
Libraries, Université de Montréal
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette