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.
Name | Type and description |
---|---|
<extension-name> | Dynamic / Model dependent |
The name of the extension (e.g. "pdf") |
Name | Type and description |
---|---|
displayName | javax.jcr.PropertyType.STRING |
The name of the file extension icon (e.g "pdf") | |
smallIcon | javax.jcr.PropertyType.WEAKREFERENCE |
The small icon image | |
largeIcon | javax.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!
Last updated: