Customizing Icons for File Types in Contentspace (Deprecated)

You can change the image for icons for existing file types. Images for file types come in various sizes. Depending on the view the user selects, different sizes of the images are used. For this reason, when you change the icon size for a file type, you should change the images for all sizes so that you have a consistent look for that file type.

Note: Adobe is migrating Adobe® LiveCycle® Content Services ES customers to the Content Repository built on the modern, modular CRX architecture, acquired during the Adobe acquisition of Day Software. The Content Repository is provided with LiveCycle Foundation and is available as of the LiveCycle ES4 release.

For example, you may want to modify the icon that appears for a PDF file instead of using the default PDF icon.

Summary of steps

You must complete these steps to customize the icons used for file types:

  1. Set up your development environment. (See Setting Up to Customize LiveCycle Contentspace (deprecated).)

  2. Replace the icon used for a file type. (See Replacing icons used for file types.)

  3. Deploy your customization. (See Deploying a Customized Contentspace (Deprecated).)

Replacing icons used for file types

To customize the icon used for a file type, you replace the existing image file with a new one. All images that are used by LiveCycle Contentspace are packaged in the contentservices.war file. For file types, the image sizes you require are 16x16, 32x32, and 64x64 pixels. Each size of image is located in one of the following folders:

  • images/filetypes: Location that stores 16x16 pixel sized images.

  • images/filetypES42: Location that storES42x32 pixel sized images.

  • images/filteypes64: Location that stores 64x64 pixel sized images.

You can determine the name of the image that you want to replace by right-clicking the image in Contentspace and selecting Properties in your web browser. Your web browser tells you the location of the image on the server, which you can use to determine the location of the file in the extracted contentservices.war file.

Depending on the view you select in Contentspace, different sized icons are displayed for a file type. Different sized icons are stored in different folders; therefore, when you replace an image for a file type, you require different sized icons.

For example, if you right-click the image for a PDF file that is stored as content, the image location in the Properties dialog box may be a URL such as http://lcserver:8080/contentspace/images/filetypES42/pdf.gif. You will need to replace the image file in the images/filetypES42 folder, but also the image files in the images/filetypes and images/filetypes64 folders. It is recommended that you back up the images before replacing any of them in case you want to return to the original images.

The following procedure shows you how to replace the image used for PDF file types.

To replace an icon used for a PDF file type:

  1. Determine the name and the location of the image that you want to replace by right-clicking the image in Contentspace and selecting Properties in your web browser.

    For example, if you right-click the image for a PDF file type in Contentspace, the URL may be http://lcserver:8080/contentspace/images/filetypES42/pdf.gif. The name of the image file you must replace is pdf.gif.

  2. Go to the root location in your development environment and replace the image files with the name you determined in the previous step. You must replace the image files in each of the following folders with the listed sizes:

    • images/filetypes with a 16x16 pixel image

    • images/filetypES42 with a 32x32 pixel image

    • images/filetypes64 with a 64x64 pixel image

// Ethnio survey code removed