Hi there –
I found this page about creating hierarchical relationships between documents (e.g., parent and child pages).
I also gather that you're supposed to use the UID field type for URL slugs.
However, I've run into a limitation.
Since a document's UID must be unique within its content type, it isn't possible to have two URLs which contain the same segment – e.g.:
/capabilities/web-development
/tutorials/web-development
Prismic won't allow me to create the second page, because there's already a document with the UID "web-development".
I guess I could use a Key Text field (instead of a UID field) to represent a page's URL slug – but then I can't make the field required, and I can't prevent content authors from creating duplicate URLs.
Is there a workaround?
Thanks.