Set Up the Source Code Viewer

Configure CAST Imaging so users can view object source code inline.

The source code viewer displays the source file of any object directly in the canvas. It is an optional feature that requires access to the original source files.

Before you start

Who this is for IT administrator
Role required Super Admin
Prerequisites CAST Imaging installed; source files accessible from the server

Step 1: Make source files accessible

The CAST Imaging server must be able to read the source files. Options:

  • Mount a shared network drive
  • Copy source files to the server
  • Use a Git repository (if supported)

[TODO: Supported access methods and path formats]

Step 2: Configure the path mapping

In the Admin Center, map the file paths stored in the analysis results to the actual file paths on the server.

[TODO: Admin Center navigation and field descriptions]

Step 3: Configure HTTP headers (optional)

If your deployment requires specific HTTP headers for security (CSP, X-Frame-Options), configure them here.

[TODO: Configuration steps]

Verify the configuration

Open any object in CAST Imaging and select Show source code from the context menu. The source code should appear in the Legend panel.

If it does not, see Source code viewer shows no content.

Next steps