sv:article

An article node is always a sub node to an archive (sv:archive) node. There is always one and only page content (sv:pageContent) sub node in each article.

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

Node name

Name

Type and description

<article-name>

Dynamic / Model dependent


The name of the article (as displayed in the editor, but without the date)

 

Properties

 Name

Type and description 

 articleName

javax.jcr.PropertyType.STRING


The give name of the article [@since Sitevision 2.6.1_06]



comments

Multi-value of javax.jcr.PropertyType.UNDEFINED 


An array of editor comments added for the article



 createdBy

javax.jcr.PropertyType.WEAKREFERENCE


The user that created the article



creationDate

 javax.jcr.PropertyType.DATE


Date when the article was created.



displayName

javax.jcr.PropertyType.STRING 


The given name of the article, including date 



isActiveSubscription

javax.jcr.PropertyType.BOOLEAN


Whether or not the page is an active subscription



lastModifiedBy

javax.jcr.PropertyType.WEAKREFERENCE

 

The user that modified the article



lastModifiedDate

javax.jcr.PropertyType.DATE


Date when the article was modified. 



 lastPublishedBy

javax.jcr.PropertyType.WEAKREFERENCE


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



 lastPublishDate

javax.jcr.PropertyType.DATE


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



lastUnpublishedBy

javax.jcr.PropertyType.WEAKREFERENCE


The user that last unpublished the article. Note! This property doesn't exist if the article is published (i.e. property "published" == true). [@since Sitevision 2024.01.2]



lastUnpublishDate

javax.jcr.PropertyType.DATE


Last date when the article was unpublished. Note! This property doesn't exist if the article is published (i.e. property "published" == true). [@since Sitevision 2024.01.2]



 locale

javax.jcr.PropertyType.STRING


Language settings



 published

javax.jcr.PropertyType.BOOLEAN


Whether or not the article is published 



publishDate

javax.jcr.PropertyType.DATE 


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



publishedBy

javax.jcr.PropertyType.WEAKREFERENCE


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



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 article may be indexed by a web robot



 scheduledPublishDate

javax.jcr.PropertyType.DATE 


Date when the article is scheduled to be published



scheduledUnpublishDate

javax.jcr.PropertyType.DATE 


Date when the article is scheduled to be unpublished



 shortId

javax.jcr.PropertyType.STRING


The short id of the article 



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 



 template

javax.jcr.PropertyType.WEAKREFERENCE 


The template which is used by the article 



 title

javax.jcr.PropertyType.STRING


Explicitly set title of the article



 URI

javax.jcr.PropertyType.URI


The relative URI of the article 



URL

javax.jcr.PropertyType.URI 


The absolute URI of the article 



 visibleInMenus

javax.jcr.PropertyType.BOOLEAN


Indicates whether or not the article is visible in menus

Sitevision Utility API tip!

  • ​The ArticleUtil interface exposes a set of methods for creating a sv:article and update some of the properties for a sv:article.
  • The WebContentUtil interface exposes a set of methods for updating the content of a sv:article.
  • The MetadataUtil interface exposes a set of methods for setting metadata values for a sv:article.
  • The PublishingUtil interface exposes a set of methods for publishing and unpublishing a sv:article.
  • The StructureUtil interface exposes a set of methods to move a sv:article to another parent.
  • The TrashcanUtil interface provides a set of methods to remove or restore a sv:article.
  • The DocTypeUtil interface exposes a set of methods for getting the DOCTYPE for a sv:article.
  • The ResourceLocatorUtil interface exposes methods for easy access to the sv:localFileRepository and sv:localImageRepository of a sv:article.
  • The resource priority of a sv:article can be set via IndexingUtil.
  • The LinkRenderer interface can be used to render a link to a sv:article.