glide.search.doctype_to_image_mapper

ServiceNow property description:

This property defines the mapping from document type (file extension) to the image/icon that represents the document type. Supported image types are "icon" and "image". You can customize the icon or image by creating a new system property "glide.search.doctype_to_image_mapper.override". Below is an example: { "pdf": { "imageType": "icon", "imageName": "document-outline" } } To use image type, upload an image to db_image table and set the image name in the configuration. For example: { "pdf": { "imageType": "image", "imageName": "example-image.jpg" } }

Attributes

  • Sys ID: 7e068a835b321010e91728582d81c754
  • Type: string
  • Application: Global
  • Default value: { "doc": { "imageType": "icon", "imageName": "document-outline" }, "docx": { "imageType": "icon", "imageName": "document-outline" }, "xls": { "imageType": "icon", "imageName": "document-excel-outline" }, "xlsx": { "imageType": "icon", "imageName": "document-excel-outline" }, "ppt": { "imageType": "icon", "imageName": "document-powerpoint-outline" }, "pptx": { "imageType": "icon", "imageName": "document-powerpoint-outline" }, "pdf": { "imageType": "icon", "imageName": "document-template-outline" }, "txt": { "imageType": "icon", "imageName": "document-outline" }, "html": { "imageType": "icon", "imageName": "document-code-outline" }, "xml": { "imageType": "icon", "imageName": "document-code-outline" }, "default": { "imageType": "icon", "imageName": "document-outline" } }
Related property: glide.sc.date_time_width