Hi all,
during our last webinar
The Big Picture: Why Entities are Important for Institutional Repositories and What You Can Do with DSpace, May 30 11:00 AM ET (10:00 AM CT/9:00 AM
MT/8:00 AM PT)
we got this question that was not possible to answer live, so I like to provide it here
Q: What exactly do i need in my submission forms . xml to allow author
insertion to use an entity of the person type ?
I have a collection of entities but there are no clear , outright
examples of what exactly needs to be in the xml file (dspace 7.5 already
activated for entities)
One exact example would really help
Thanks
A: To configure entities you essentially need three steps, if I understand correctly you are stuck with the second step. For completeness I describe all the steps
- define which entities types you want to support and how each one relates to the others. This is done in a "relationship" xml file like https://github.com/DSpace/DSpace/blob/main/dspace/config/entities/openaire4-relationships.xml that
is loaded in the system via the initialize-entities script
[/dspace]/bin/dspace initialize-entities
-f [/dspace]/config/entities/openaire4-relationships.xml
if
your data model defines new metadata schema and/or element you will need to write down you registry extension, like
and
load it in the system via
[/dspace]/bin/dspace
registry-loader -metadata [/dspace]/config/registries/openaire4-types.xml
-
You
need to create collections dedicated to the new defined entities, so at least one for each entity type and assign to each of this collection the appropriate submission configuration.
This is done in two configuration files:
- item-submission.xml file you will link the collection to a "named submission form" that is composed of several steps most of them will be dedicated to collect metadata and relationships.
- For those steps you are going to define the details in the other xml configuration file the submission-forms.xml
Using the openaire4 data model sample you can find the corresponding submission configuration here
3. Last step to use your data model is to define special configuration (if needed) to showcase the inverse relationship in the discovery.xml used for instance to include publication list
in the author profile. The configuration and the relation is named in the custom item page component that you can create to visualize your entity, see for instance how it is done to show authored publication in the person page here
The official DSpace documentation explain the above steps with different wording here
and here tailored to the openaire4 data model
Hope this help,
Andrea
--
Andrea Bollini
Chief Technology and Innovation
Officer
Certified
Platinum Provider of DSpace, DSpace-CRIS, DSpace-GLAM
4Science
USA - 435 Nichols Road Suite 200, Kansas City, MO 64112
4Science
Europe - Viale Achille Papa 30, World Join Center Tower, 20149 Milano, Italy
linkedin: andreabollini
orcid:
0000-0002-9029-1854