sv:sitePage

There is always one and only one site page node which is positioned as sub node of the page repository (sv:pageRepository). The site page node consists of a page content, folders, archives or other page nodes.

The site page correspond to the page properties of the site object in the top left navigation frame of the editor view.

Node name
NameType and description
Site PageFixed / Model independent
 The name is always "Site Page"
Properties

Name

Type and description

URI

javax.jcr.PropertyType.URI

 

The relative URI of the site page

displayName

javax.jcr.PropertyType.STRING

 

The given name of the site page (i.e. the site name)

shortId

javax.jcr.PropertyType.STRING


The short id of the site page

template

javax.jcr.PropertyType.WEAKREFERENCE

 

The template which is used by the site page

URL

javax.jcr.PropertyType.URI

 

The absolute URI of the site page

visibleInMenus

javax.jcr.PropertyType.BOOLEAN

 

Indicates whether or not the site page is visible in menus

locale

javax.jcr.PropertyType.STRING

 

Language settings

robotsIndex

javax.jcr.PropertyType.BOOLEAN

 

Indicates whether or not the site page may be indexed by a web robot

published

javax.jcr.PropertyType.BOOLEAN

 

Whether or not the site page is published

publishDate

javax.jcr.PropertyType.DATE

 

Date when the site page was published. Note! This property doesn't exist if the site page is not published (i.e. property "published" == false).

lastPublishDate

javax.jcr.PropertyType.DATE

 

Last date when the page was published, this date will change if an already published page is republished. Note! This property doesn't exist if the site page is not published (i.e. property "published" == false).

creationDate

javax.jcr.PropertyType.DATE

 

Date when the site page was created.

lastModifiedDate

javax.jcr.PropertyType.DATE

 

Date when the site page was modified.

scheduledPublishDate

javax.jcr.PropertyType.DATE

 

Date when the site page is scheduled to be published

scheduledUnpublishDate

javax.jcr.PropertyType.DATE

 

Date when the site page is scheduled to be unpublished

resourcePriority

javax.jcr.PropertyType.LONG

 

The search resource priority, influences document boost when indexed [@since SiteVision 3.6.4]

SiteVision Utility API tip!

  • The ResourceLocatorUtil interface exposes a method for easy access to the site page node.
  • The DocTypeUtil interface exposes a set of methods for getting the DOCTYPE fo a sv:sitePage.
  • The LinkRenderer interface can be used to render a link to a sv:sitePage.

Denna sida publicerades: 2017-01-16

Skriv ut PDF-avsnitt

Missa inga nya rön, tips och tricks! Prenumerera på insite!

Find us!

SiteVision AB (Headquarter)
Vasagatan 10
702 10 Orebro
Sweden

Info: +46 19-17 30 30
Support: +46 19-17 30 39

Latest Tweets