CoreMedia provides a concept to handle multi-site and multi-language in a standardized way.
Configuration
The CoreMedia Site Model is defined via the bean siteModel
of the CoreMedia Studio web application.
Please refer the to the [[CoreMedia Digital Experience Platform 8 Developer Manual]] to know, how CoreMedia has designed multi-site and multi-language support.
SitesService
To access all the features of multi-site and multi-language, you can use the SiteService
. The
SitesService
is available via the EditorContext
with its getSiteService()
Method.
With this, you have access to all available Sites and their properties - the root folder, the site indicator, etc. Furthermore, you have access to the Site Model specifications like the properties for master relations or of which document type the Site Indicator is. For a detailed understanding, you are asked to read the Studio API documentation as well.