developer logo

sv:link

A link is always located inside the page repository (sv:pageRepository). It has no sub nodes.

The links are available as web resources in the top left navigation frame in the editor view.

Node name

Name

Type and description

<link-name>

Dynamic / Model dependent


The given name of the link.

 

Properties

Name

Type and description

creationDate

javax.jcr.PropertyType.DATE 


Date when the link was created.



customWindowHeight

javax.jcr.PropertyType.STRING 


The height of the custom window [NOTE! @since SiteVision 3.1] 



customWindowWidth

javax.jcr.PropertyType.STRING 


The width of the custom window [NOTE! @since SiteVision 3.1] 



 description

javax.jcr.PropertyType.STRING 


A given description of the link 



 displayName

javax.jcr.PropertyType.STRING 


The given name of the link 



 lastModifiedDate

javax.jcr.PropertyType.DATE


Date when the link was modified. 



 lastPublishDate

javax.jcr.PropertyType.DATE 


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



 locale

javax.jcr.PropertyType.STRING 


Language settings 



 openInNewWindow

javax.jcr.PropertyType.BOOLEAN 


True if the link should be opened in a new window [NOTE! @since SiteVision 3.1] 



 publishDate

javax.jcr.PropertyType.DATE 


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



published

javax.jcr.PropertyType.BOOLEAN


Whether or not the link is published 



robotsIndex 

javax.jcr.PropertyType.BOOLEAN 

 


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



scheduledPublishDate

javax.jcr.PropertyType.DATE 


Date when the link is scheduled to be published 



 scheduledUnpublishDate

javax.jcr.PropertyType.DATE 


Date when the link is scheduled to be unpublished 



 URI

javax.jcr.PropertyType.STRING 


The relative URI of the link 



 URL

javax.jcr.PropertyType.STRING 


The absolute URI of the link 



 useCustomWindowSize

javax.jcr.PropertyType.BOOLEAN 


 True if the window where the link should be opened uses custom width and height [NOTE! @since SiteVision 3.1]



 visibleInMenus

javax.jcr.PropertyType.BOOLEAN 


Indicates whether or not the link is visible in menus 

SiteVision Utility API tip!

  • The LinkRenderer interface can be used to render a sv:link.
  • The MetadataUtil interface contains utilities to work with links in metadata.