Configurable entities implementation

701 views
Skip to first unread message

Tianyi Gu

unread,
Mar 18, 2022, 12:23:29 PM3/18/22
to DSpace Technical Support
Hello everyone, 
Why I can't find  "entity_type"  and  "relationship_type"database tables? I have followed the DSpace configurable entity instruction and run the initialize-entities command:
[dspace]/bin/dspace initialize-entities -f [dspace]/config/entities/relationship-types.xml

According to the instruction:

Once imported into the Database, the overall structure is as follows:

    • All valid Entity Types are stored in the "entity_type" database table.
    • All Relationship type definitions are stored in the "relationship_type" database table
    • All Relationships between entities get stored in the "relationship" table.
    • .....
Did I interpret it wrong?

Please advise.

Thank you,
Tianyi
Message has been deleted

Tim Donohue

unread,
Mar 21, 2022, 10:21:00 AM3/21/22
to DSpace Technical Support
Just to verify, yes the "entity_type" and "relationship_type" tables should exist already in every DSpace 7.x instance.  By default they are empty tables. But, once you run that "initialize-entities" command, they are populated with the Entities & Relationships that are specified in the file you pass to that command.

If you have other questions, let us know on this list.

Tim

Tianyi Gu

unread,
Mar 22, 2022, 2:45:46 PM3/22/22
to DSpace Technical Support
Hi Tim, Thank you for answering that. I have verified that and learned that the script will fill the tables. 

Now, when I create a person as an item, the submission form for Person submission form doesn't have a Title and I have to upload a file into the item. After the creation, the new person data entry is displayed as "Untitled" -- Please see the screenshot below. 
I am reading the submission-forms.xml file; From the comments, I learned, for configurable entities, "this is nearly identical to the  'traditionalpageone' form".
How do I modify the configurable item submission form without changing the regular submission?

Thank you, Tim!!

Tianyi

person data entry.PNG

Tianyi Gu

unread,
Mar 22, 2022, 3:02:12 PM3/22/22
to DSpace Technical Support
Ideally, I could modify:
1. this collection page is more customized for the Person entity;
2. change the search result: display Person's full name instead of "untitled" 
3. change the "item" label.

Thank you,
Tianyi

Reply all
Reply to author
Forward
0 new messages