--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at http://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.
Hi Dávid,
indeed JCR is a hierarchical database and not relational, therefore things such as join tables and foreign keys are not easily done in JCR. The closest thing you can do is link a document to 1..N documents using the Docbase type in the editor. But abusing this kind of links leads to hard to navigate structures, and also you don’t have any checks for referential integrity.
So you should try to denormalize your schema as much as you can. For instance, you can bring the Features in the Service document using a multi-select field that is populated from a value list.
Regards,
Olivier.
AFAIK linking together 2 document can be done as you said based on docbase and with built in compund type link.I know that with link you get the benefit of:A Link field is used to create an internal link to a different content item (such as a document or asset) in the repository. It is stored as a reference to the actual JCR node in which that content item is stored. The delivery tier will resolve the reference and transalte it to a website URL on-the-fly. If a CMS user tries to delete the referenced content item they will see a warning that it is being referred to and deleting the item will cause a broken link in the refering document.
But this is a compound type. Am I going to have issues if I would use it like described in the best practice documentations? Or as it's not a custom compound it's not valid for that.
You received this message because you are subscribed to a topic in the Google Groups "Hippo Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hippo-community/TiRyMgVs5jk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hippo-communi...@googlegroups.com.