Importando un nuevo registro¶
Un editor puede importar metadatos en diferentes formatos: XML, MEF o ZIP (ver Formato de Intercambio de Metadatos (MEF)).
The user needs to have an
editor profile to access it. After login, go to the
contribute page and select the
Import new records button.
The import new records page allows you to import records in three ways:
Upload a file from your computerand choose one XML or MEF file to load
Copy/Pasteand copy the XML document in the textarea
Import a set of files from a folder on the serverand set the path of the folder in the server
To import multiple file at a time, use the MEF format or the import from server options.
After defining the type of import, configure the other import settings:
Type of file: when uploading or loading file from the server, define the type of file to load. It could be XML for importing XML document or MEF (equivalent to ZIP) for importing MEF format.
Type of record:
Metadatashould be used when loading a normal metadata record
Templateshould be used when the loaded metadata record will be used as a template.
Record identifier processingdetermines how to handle potential clashes between the UUID of the record loaded and UUIDs of metadata records already present in the catalog. 3 strategies are available:
None: the UUID of the record loaded is left unchanged. If a metadata record with the same UUID is already present in the catalog, an error message is returned.
Overwrite metadata with same UUID: any existing metadata record in the catalog having the same UUID as the loaded record will be updated.
Generate UUID for inserted metadata: a new UUID is affected to the loaded record.
Apply XSLT conversionallows to transform the record loaded using an XSLT stylesheet. A list of predefined transformations is provided. The selected transformation should be compatible with the standard of the loaded record (see Añadiendo la conversión XSLT para la importación).
Validatetrigger the validation of the record before loading it. In case of error the record is rejected and an error reported.
Assign to current catalogassign the current catalog as origin for the record, in case the MEF file indicate another source.
Assign to Groupdefine the group of the loaded record.
Assign to Categorydefine a local category to assign to the loaded record.
import to trigger the import. After processing, a summary is provided with
the following details:
- the total count of imported metadata
- errors messages
- if only one record is imported, a link to that record is provided.