Hi Arta,

As I noted on Slack, I believe the only way to *delete* Entity Types and 
Relationships at this time is to remove them from the database.  Currently, 
you can reimport the "relationship-types.xml" in order to *update* existing 
Entity Types or Relationships.  But, it doesn't yet have a deletion option, 
and there's no way to delete these types from the User Interface yet.

I just wanted to ensure this answer was also captured in this mailing list 
question, in case others have additional ideas to share.

Tim

On Wednesday, July 24, 2024 at 4:39:29 PM UTC-5 [email protected] wrote:

> Hi, 
>
> is there a way for me to purge old Entity-Relationship versions from my 
> DSpace? I'm learning to use virtual-metadata.xml and some of these 
> relationship types, such as resultsInConceptSet and resultsInPhenotype are 
> outdated, because I switched these relationship types to ones that are more 
> explicit and have the Entities involved in the names e.g. is[Entity 
> A]Of[Entity B]. Some of the new ones are showing up, and some of them 
> aren't, and I'm also noticing that there are other relationships showing up 
> as relationships.is*Of.*  and I just want to know how to force DSpace to 
> use my new set of relationship type names.
>
> [image: image.png]
>
> [image: Screenshot 2024-07-24 at 5.35.15 PM.png]
>
> As you can see, my relationship_type table has a bunch of relationship 
> types in them, many of which are redundant. I want, as a primary example, 
> for my Study entity to the NEW relationship types (`is*Of*`) instead of the 
> old ones. But instead, only the old ones show.
>
> I have updated my `virtual-metadata.xml`, `relationship-type.xml` and 
> `relationship-formats.xml`. I've attached them here. Hopefully they help.
>
> PS I did manually change all of these `type_id`s from `18` to `32` 
> thinking that would help but it did nothing. 
>
> [image: Screenshot 2024-07-24 at 5.38.43 PM.png]
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/74c19848-e612-4581-bd65-0a67bd904162n%40googlegroups.com.

Reply via email to