Srch.U.getFriendlyNameForFileExtension Method (DisplayTemplatesSrch)

Gets a friendly name for the given file extension. For example "file_Word" instead of "DOCX".

Srch.U.getFriendlyNameForFileExtension(fileExtension)

Return value

A user friendly name for the file extension. If the file format is unknown, "file_Document" will be returned.

Parameters

  • fileExtension
    The file extension.