Srch.U.getIconUrlByFileExtension Method (DisplayTemplatesSrch)

Gets the icon URL associated with the file extension. If no information on the file extension can be found, the icon URL associated with the HTML page will be returned.

Srch.U.getIconUrlByFileExtension(item, defaultIconPath)

Parameters

  • item
    The object that contains information on the file extension.

  • defaultIconPath
    The default path for the icon in case no information can be found on the file extension.