I need to store a department of information related to the author, 
(department); and I'm configuring these files:

1.   input-forms.xml

       <field>
                 <dc-schema>dc</dc-schema>
         <dc-element>contributor</dc-element>
         <dc-qualifier>author</dc-qualifier>
         <repeatable>true</repeatable>
         <label>Authors</label>
         <input-type>onebox</input-type>
         <hint>Enter the names of the authors of this item in the form 
Surname, Firstname [i.e. Smith, Josh or Smith, J].</hint>
         <required></required>
       </field>

        <field>
                 <dc-schema>dc</dc-schema>
          <dc-element>contributor</dc-element>
          <dc-qualifier>department</dc-qualifier>
          <label>Grupo Investigacion</label>
          <input-type>onebox</input-type>
          <repeatable>true</repeatable>
          <parent>dc.contributor.author</parent>
          <required></required>
          <hint>Enter Grupo de Investigacion  for each author.</hint>
        </field>

       <field>


2. cris-authority-metadatagenerator.xml


        <bean 
id="org.dspace.app.cris.integration.RPExtraAuthorityMetadataGenerator"
        
class="org.dspace.app.cris.integration.RPExtraAuthorityMetadataGenerator">
        <property name="relatedInputformMetadata" 
value="dc.contributor.department"/>
        <property name="schema" value="affiliation"/>
        <property name="element" value="affiliationorgunit"/>
                <property name="qualifier" value="name"/>

                USE THE FOLLOW PROPERTY WITH RPMultiAuthority 
implementation (see RPMultiAuthority)
                <property name="singleResultOnAggregate" value="false"/>
     </bean>


What can be wrong?


Thanks

David.

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/7719a642-3a6e-4695-b466-658dbefb7bfa%40googlegroups.com.

Reply via email to