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). 



linkType

javax.jcr.PropertyType.STRING 


Type of link (typically one of: "INTERNAL", "EXTERNAL", "FILE", "MAIL", "IMAGE", "TELEPHONE", "SOCIAL_GROUP_FILE", "CUSTOM"")



 locale

javax.jcr.PropertyType.STRING 


Language settings 



nofollow

javax.jcr.PropertyType.BOOLEAN 


The rel=nofollow state of the link [NOTE! @since Sitevision 9.1]



 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 



rawURI

javax.jcr.PropertyType.STRING 


The raw relative URI of the link [NOTE! @since Sitevision 9.1]



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]



useDownload

javax.jcr.PropertyType.BOOLEAN


The download state of the link [NOTE! @since Sitevision 5.2]



 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.