6.51 KB

How to install the Add-on

The detailed instructions can be found in the docs folder.

Copy the new files

Copy the new files to the source directory

If you are in Linux

cp -r $PATH_TO _ADDON/setup-data/dspace-source/* $DSPACE_SRC/

Where $PATH_TO ADDON is the directory where you put the add-on for instalation and $DSPACESRC/ is the source directory.

As an example: If the addon is in the opt directory and dspace source is in /src-dspace/dspace32 the command is:

cp -r /opt/setup-data/dspace-source/* /src-dspace/dspace32/

Adding the new entries in the and in

Add the fowlowing messages to

jsp.authority.confidence.description.blank = OpenAIRE project checked = FP7/ERC project selection = Verifying value… = Accept = Add = Cancel = See more results = Failed to load information: = Results @1@ until @2@ of @3@ for the search "@4@" = Search = FP7 project containing the term = FP7 Project ID (If accepted this value will pass to the textbox) = Not identified

Add the fowlowing messages to

jsp.authority.confidence.description.blank = Projecto OpenAIRE verificado = Selecção do projecto FP7/ERC = A Verificar valor… = Aceitar = Adicionar = Cancelar = Ver Mais Resultados = Falha ao carregar informação: = Resultados @1@ até @2@ de @3@ para o termo "@4@" = Pesquisar = Projetos FP7 contendo o termo pesquisado = Identificador do projeto (Se aceitar este valor ser colocado na caixa de texto do projecto) = Projecto não identificado

#Change the dspace.cfg Edit dspace.cfg in $DSPACE_SRC/dspace/config/dspace.cfg. Uncomment the lines of the authority control plugins and add OpenAire. = \
   org.dspace.content.authority.OpenAIREAuthority = OpenAIRE

If there are more Choices of authority the options must be added like the example: = \ org.dspace.content.authority.SampleAuthority = Sample, \ ... ... org.dspace.content.authority.OpenAIREAuthority = OpenAIRE

where ... are the other authority options

Add also, the following options to dspace.cfg (if they exist, only change their values)

choices.plugin.dc.relation = OpenAIRE
choices.presentation.dc.relation = suggest
authority.controlled.dc.relation = true

Add also the following lines (if they exist, only change their values)

openaire.projects.filename = ${dspace.dir}/config/openaire-cache.list
# One or more urls/file paths (separeted by 3 hash chars (#, i.e. ###)) in DSpace form-value-pairs XML format (take as an example)
openaire.projects.url = ""
# Minimum of chars to start searching on the list (default >= 4)
openaire.projects.suggest.minchar = 4
# Maximum of projects listed (default <= 10)
openaire.projects.suggest.max = 20

For the Portuguese projects change to: openaire.projects.url = ""

Change the inupt-forms.xml

At $DSPACE_SRC/config/input-forms.xml after '' add:

     <label>OpenAIRE Project Identifier</label>
     <hint>Enter the search term (number, name or acronym) of the European project (EC / ERC), National project (FCT) or any other international project/initiative (WT)gt;</hint>

Change xoai.xml configuration

At $DSPACE_SRC/config/crosswalks/oai/xoai.xml Add the following, before : <!-- Date format, field prefixes, etc are ensured by the transformer --> <!-- Title : Mandatory --> <!-- Author : Mandatory --> <!-- Possible Document Type (same as Driver)--> <!-- dc.relation must has the specified prefix --> <!-- Metadata Formats -->

And after info:eu-repo/grantAgreement/EC/FP add:

<Filter id="fctrelationFilter">
    <Parameter key="field">
    <Parameter key="operator">
    <Parameter key="value">

After instalation

After building DSpace (mvn & ant - see the DSpace Documentation), configure cron to refresh the openaire project list, for example:

0 0 * * * $DSPACE_BIN/bin/openaire-refresh-list

Run the script (for the addon to work)



The OpenaAirAuthorityControl Add-on was developed in the context of RCAAP ProjectRCAAP by KEEP SOLUTIONS, a spin-off of the University of Minho, specialized in digital preservation and advanced solutions for digital archives and libraries, in partnership with the Documentation Services of the University of Minho.

Need help, or give any type of contribution?

Please contact us at FCT|FCCN or any commiter.


Please contact us at FCT|FCCN.