SiteVision Onlinehelp
Search

sv:fileExtensionIcon

A file extension icon node is always a sub node of the icon repository (sv:iconRepository) node. It has no children.

The file extension icons defined for the site are part of the appearance site properties underneath the file icons tab.

Node name
NameType and description
<extension-name>Dynamic / Model dependent
 The name of the extension (e.g. "pdf")
Properties
NameType and description
displayNamejavax.jcr.PropertyType.STRING
 The name of the file extension icon (e.g "pdf")
smallIconjavax.jcr.PropertyType.WEAKREFERENCE
 The small icon image
largeIconjavax.jcr.PropertyType.WEAKREFERENCE
 The large icon image

Note that the smallIcon and the largeIcon both can be null (i.e. the properties doesn't exist). This will happen if a icon mapping exists for the site, and if that mapping explicitly says "no icons".

If a smallIcon property and/or a largeIcon property exist, it can be either a site image (sv:image) or a default/server image (sv:defaultImage).

SiteVision Utility API tip!

  • The IconUtil interface exposes a method for easy access to the file extension icon based on the extension. IconUtil also contains methods for getting the URI of a small icon or large icon based on the extension.

Last updated:

se-sto-ste-sv5-1.sitevision-cloud.net
3.12.161.77