Entity Class error 'Cannot have several roots' but there are already two
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2024 01:47 AM
Hi, I have an issue with seting up an entity class structure. I want to have a simple parent-child relationships for the classess for locations like region - country - city, but I cant do it because then I would need to set the 'Region' class as root. When I want to select the checkbox the 'Cannot have several roots' error pops up, but there are already twho entity classess marked as root on the instance. On the other instance I can see the relationships set up without selecting the parent class as root.
I couldnt find anything about it in the docs. Could someone advise?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2024 12:35 AM
hi @Asia2 , we cannot have multiple classes as root in the system. Did you import the entity classes ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-06-2024 05:00 AM
Hi @Asia2
we cant make multiple entities as root.
Instead update the "Region's" Parent class with the entity which is having "is root"=True. post this you can update the parent-child relationship with other entities
Please refer below screen shot as reference
Regards,
Prasanna