developer logo

sv:page

A page node is always a sub node in the page repository (sv:pageRepository) node tree. Each page node consists of a page content, folders, archives and other page nodes.

The pages are available as web resources in the top left navigator frame in the editor view.

Node name

Name

Type and description

<page-name>

Dynamic / Model dependent


The given name of the page.

 

Properties

Name

Type and description

comments

Multi-value of javax.jcr.PropertyType.UNDEFINED


An array of editor comments added to the page



createdBy

javax.jcr.PropertyType.WEAKREFERENCE


The user that created the page



creationDate

javax.jcr.PropertyType.DATE

 

Date when the page was created.



 displayName

javax.jcr.PropertyType.STRING

 

The given name of the page



 isActiveSubscription

javax.jcr.PropertyType.BOOLEAN


Whether or not the page is an active subscription



 lastModifiedBy

javax.jcr.PropertyType.WEAKREFERENCE


The user that modified the 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 page. Note! This property doesn't exist if the 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 page. Note! This property doesn't exist if the 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



 subscriptionDescription

javax.jcr.PropertyType.STRING


Optional property available if the article is an active subscription



subscriptionMailFooter

javax.jcr.PropertyType.STRING

 

Optional property available if the article is an active subscription



subscriptionTitle

javax.jcr.PropertyType.STRING


Optional property available if the article is an active subscription



 shortId 

javax.jcr.PropertyType.STRING

 

The short id of the page



template

javax.jcr.PropertyType.WEAKREFERENCE


The template which is used by the page



title

javax.jcr.PropertyType.STRING


Explicitly set title of 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 PageUtil interface exposes a set of methods for creating a sv:page and update some of the properties for a sv:page.
  • The WebContentUtil interface exposes a set of methods for updating the content of a sv:page.
  • The MetadataUtil interface exposes a set of methods for setting metadata values for a sv:page.
  • The PublishingUtil interface exposes a set of methods for publishing and unpublishing a sv:page.
  • The StructureUtil interface exposes a set of methods to move a sv:page to another parent.
  • The TrashcanUtil interface provides a set of methods to remove or restore a sv:page.
  • The DocTypeUtil interface exposes a set of methods for getting the DOCTYPE fo a sv:page.
  • The ResourceLocatorUtil interface exposes methods for easy access to the sv:localFileRepository and sv:localImageRepository of a sv:page.
  • The resource priority of a sv:page can be set via IndexingUtil.
  • The LinkRenderer interface can be used to render a link to a sv:page.