Commit 3608655411bec046652e0dd13493262646eaad98

Authored by Tiago Guimarães
1 parent c688b47e70
Exists in emailaccess

Added email field for the author contact in case of embargo

dspace/config/input-forms.xml
... ... @@ -281,6 +281,16 @@
281 281 <hint>No caso da publica&#xe7;&#xE3;o ter financiamento FCT e de ter indicado um per&#xED;odo de embargo superior a 12 meses (nas ci&#234;ncias sociais e humanidades) ou 6 meses para as restantes &#xE1;reas indique as raz&#xF5;es.</hint>
282 282 </field>
283 283 <field>
  284 + <dc-schema>rcaap</dc-schema>
  285 + <dc-element>contributor</dc-element>
  286 + <dc-qualifier>authoremail</dc-qualifier>
  287 + <repeatable>false</repeatable>
  288 + <label>Contacto do autor(a) para envio de pedido de cópia </label>
  289 + <input-type>onebox</input-type>
  290 + <hint>De acordo com a informação anterior, se a tese for de acesso restrito ou embargado, insira aqui o e-mail do autor(a) da tese que para posterior envio de resposta a eventuais pedidos de cópia ou de acesso.</hint>
  291 + <required></required>
  292 + </field>
  293 + <field>
284 294 <dc-schema>dc</dc-schema>
285 295 <dc-element>rights</dc-element>
286 296 <dc-qualifier>uri</dc-qualifier>
... ...
dspace/config/spring/api/requestitem.xml
... ... @@ -24,11 +24,10 @@
24 24 <!--
25 25 Uncomment these properties if you want lookup in metadata the email and the name of the author to contact for request copy.
26 26 If you don't configure that or if the requested item doesn't have these metadata the submitter data are used as fail over
27   -
28   - <property name="emailMetadata" value="schema.element.qualifier" />
29   - <property name="fullNameMatadata" value="schema.element.qualifier" />
30   -
31   - -->
  27 + -->
  28 + <property name="emailMetadata" value="rcaap.contributor.authoremail" />
  29 +
  30 + <!--<property name="fullNameMatadata" value="schema.element.qualifier" /> -->
32 31 </bean>
33 32  
34 33 <!-- HelpDesk to instead get RequestItem emails-->
... ...