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")
NameType and description
 The name of the file extension icon (e.g "pdf")
 The small icon image
 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.

Denna sida publicerades: 2014-05-22

Skriv ut PDF-avsnitt

Missa inga nya rön, tips och tricks! Prenumerera på insite!

Find us!

SiteVision AB (Headquarter)
Vasagatan 10
702 10 Orebro

Info: +46 19-17 30 30
Support: +46 19-17 30 39

Latest Tweets