- siteId (String) - the ID of the site.
Obj which is a specific language version of the given CMS object. This function is only applicable if the multi-site feature is in use by Scrivito CMS.
const homepage = Scrivito.Obj.getByPath("/"); console.log(homepage.versionOnSite("fr"));
null if no version of the object exists on the specified site.