developer logo

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

Name

Type and description

Site Page

Fixed / Model independent


The name is always "Site Page".

 

Properties

Name

Type and description

comments

Multi-value of javax.jcr.PropertyType.UNDEFINED


An array of editor comments added to the site page



createdBy

javax.jcr.propertyType.WEAKREFERENCE


The user that created the site page



creationDate

javax.jcr.PropertyType.DATE

 

Date when the page was created.



 displayName

javax.jcr.PropertyType.STRING

 

The given name of the page



lastModifiedBy

javax.jcr.PropertyType.WEAKREFERENCE


The user that modified the start page



 lastModifiedDate

javax.jcr.PropertyType.DATE


Date when the page was modified.



 locale

javax.jcr.PropertyType.STRING

 

Language settings



lastPublishedBy

javax.jcr.PropertyType.WEAKREFERENCE


Last user that published the site page. Note! This property doesn't exist if the site page is not published (i.e. property "published" == false). [@since SiteVision 3.5.3]



 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 page is not published (i.e. property "published" == false).



 published

javax.jcr.PropertyType.BOOLEAN

 

Whether or not the page is published



publishedBy

javax.jcr.PropertyType.WEAKREFERENCE


User that published the start page. Note! This property doesn't exist if the start page is not published (i.e. property "published" == false). [@since SiteVision 3.5.3]



publishDate 

javax.jcr.PropertyType.DATE


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



resourcePriority

javax.jcr.PropertyType.LONG

 

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



robotsIndex

javax.jcr.PropertyType.BOOLEAN

 

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



scheduledPublishDate

javax.jcr.PropertyType.DATE

 

Date when the page is scheduled to be published



scheduledUnpublishDate

javax.jcr.PropertyType.DATE


Date when the page is scheduled to be unpublished



 shortId 

javax.jcr.PropertyType.STRING

 

The short id of the page



template

javax.jcr.PropertyType.WEAKREFERENCE


The template which is used by the page



URI 

javax.jcr.PropertyType.URI

 

The relative URI of the page



URL

javax.jcr.PropertyType.URI

 

The absolute URI of the page



 visibleInMenus

javax.jcr.PropertyType.BOOLEAN

 

Indicates whether or not the page is visible in menus

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.