developer logo

sv:site

The site node is always available as sub node of the root (sv:root) node. It has a number of repositories and the trashcan as sub nodes.

The site node is central to the Sitevision model. There is always one and only one such node in the JCR model.

Node name

Name

Type and description

<site-name>

Dynamic / Model dependent


The given name of the site.

 

Properties

Name

Type and description

shortId

javax.jcr.PropertyType.STRING


The short id of the site [@since Sitevision 4.2.1].



hostname

javax.jcr.PropertyType.STRING


The primary hostname (primary domain) of the site [@since Sitevision 4.5.5.2].



allowWebUsers

javax.jcr.PropertyType.BOOLEAN


Whether or not creation of "Web users" (sv:simpleUser with local credentials) is activated/allowed [@since Sitevision 8]



maxEntryCharacterCount

javax.jcr.PropertyType.LONG


Max chars for entries and comments [@since Sitevision 8.1]



entryTruncateLimit

javax.jcr.PropertyType.LONG


Default visible chars when displaying entries and comments [@since Sitevision 8.1]



maxCollaborationFileSizeInMB

javax.jcr.PropertyType.LONG


Max filesize (MB) for attached files/images [@since Sitevision 8.1]



isCollaborationEnabled

javax.jcr.PropertyType.BOOLEAN


Whether or not Collaboration is enabled on the site [@since Sitevision 8.2]


Sitevision Utility API tip!