SiteVision Onlinehelp
Search

Script element

The custom templates in the script element uses the JCR (Java Content Repository, JSR 283) programming model. The SiteVision API is available here

Elements available in the Javascript and Velocity Context
NameType and Description
portletjavax.jcr.Node
 The portlet that is rendered.
sitevisionUtilssenselogic.sitevision.api.Utils
 The main entry point to all utility classes
jcrSessionjavax.jcr.Session
 The JCR Session
requestjavax.portlet.PortletRequest
 The portlet request
itemjavax.jcr.Node
 The item (for example an article *) that is rendered

(*) The item is typically a sv:article Node or a sv:rssFeedItem Node as of SiteVision 3.6.2. In prior versions there was no support for RSS data so the item was typically a sv:article Node or an "empty" temporary Node.

Last updated:

se-sto-pio-sv5-1.sitevision-cloud.net
3.19.29.89