Skip to main content
Version: 3.0

Override Cherwell images with custom files

When archiving Cherwell systems, Cortex renders images using its default image resolution logic. The Image Override feature lets you map specific Cherwell image values to custom image files, so you can replace default or missing images with your own branded or corrected versions.

When an image value is requested, Cortex checks the Image Override list. If there's a matching entry, it serves the specified file from the icons folder instead of running its normal resolution logic.

Before you begin

  • You need administrator access in Cortex.
  • The custom image files must already be placed on the server in the wwwroot/icons folder.
  • You need to know the image values from your Cherwell system that you want to override.

[!NOTE] Files must be manually placed in the wwwroot/icons folder on the Cortex server. Only the filename (not a path) is specified in Cortex. Cortex does not provide a file upload button for this feature.

[!WARNING] Double-check that each filename is correct and that the image preview shows properly. If the image does not appear in the preview here, it will not appear on forms either. Custom images are not guaranteed to load in every context.

Configure Image Overrides

  1. Navigate to AdminData SourcesEdit Data Sources (or go directly to the Data Sources page).

    Data Sources under Admin navigation

  2. Edit an existing Cherwell data source.

    Edit Cherwell data source in the Data Sources table

  3. In the data source editor, open the Cherwell tab at the top.

    Cherwell tab in the data source editor

  4. In the left-hand sidebar, open Forms & expressions, then select Image Overrides.

    Image Overrides in the Forms & expressions sidebar

  5. You'll see a table with columns for Image Value, File Name, and Preview, along with two buttons at the bottom:

    • Add Image Override — add a new mapping entry
    • View Built-In Image List — see the list of default images provided by the system
  6. Click Add Image Override. An inline form appears in the table with two fields:

    FieldDescription
    Image ValueThe Cherwell image value to match (e.g. IMG_001, status_closed, etc.)
    File NameThe name of the image file in the wwwroot/icons folder (e.g. custom-closed.png)

    Add Image Override inline form with Image Value and File Name fields

  7. Fill in the Image Value and File Name fields, then click the Save (checkmark) icon. The Preview column will attempt to render the image from the icons folder.

  8. Repeat for each image you want to override.

  9. Click Save at the bottom of the editor to persist the changes to the data source.

Using the Built-In Image List

Click View Built-In Image List to see all default images provided by the system. This can help you identify image values used in your Cherwell forms so you know which ones to override.

Adding a New Data Source with Image Overrides

You can also configure image overrides when creating a new Cherwell data source:

  1. On the Data Sources page, click New data source.
  2. Set the Type to Cherwell and fill in the basic details.
  3. Configure the Database and Tables tabs as needed.
  4. Open the Cherwell tab, then navigate to Forms & expressionsImage Overrides.
  5. Add your overrides following the same steps as above.
  6. Click Save to create the data source with the overrides configured.

Image File Requirements

  • Files are stored in the wwwroot/icons folder on the Cortex server.
  • Only the filename is entered in the File Name field — no path prefix is needed.
  • Common supported image formats include PNG, JPG, GIF, and SVG.
  • Ensure the file has proper read permissions for the Cortex application pool identity.

Troubleshooting

  • Image not showing in preview: Verify the file exists in wwwroot/icons and that the filename (including extension) matches exactly what you entered in the File Name field. Check that the Cortex application has read access to the file.
  • Image not showing on forms: The image override only applies when the Cherwell image value matches what you configured. Use the Built-In Image List to verify the correct value.
  • Custom images not loading in certain contexts: Not all image rendering paths in Cortex honor overrides. Form-level image overrides work reliably, but other areas may not.