Une image contenant texte, signe

Description générée automatiquement

File Visualizer

 

Overview

This helper visualizes various types of files by converting them into HTML.

 

Applicable To

Controlled File, Hyperlink

Menu Entry

Power Pack Reporting Tools Open in File Visualizer

Demonstration

Watch the Video

 

In Rhapsody 10 you may also use the toolbar button (after first selecting the model element).

Operation

The helper first obtains the path to the file (either the controlled file or a file that the hyperlink targets) and then uses the file extension to convert it into HTML.

Supported file types and extensions:

·       CSV (.csv)

·       Microsoft Excel (.xlxs)

·       JSON (.json)

·       XML (see below)

XML File Types

The list of file extensions the helper considers as XML is dictated by the following property:

RhapsodyPowerPack.FileVisualizer.XMLFileExtensions

The file is converted into HTML (the file is generated into the user temp directory) and then is automatically opened either inside Rhapsody, outside or both as dictated by the following property:

RhapsodyPowerPack.ReportingToolsOpenInBrowser

Tables

CSV and Microsoft Excel* files are converted into a simple table. The table may be sorted by clicking the header rows:

A screenshot of a table

AI-generated content may be incorrect.

*Only the first sheet in the Excel file is converted.

Trees

JSON and XML files are presented as expandable trees, clicking a node will display its details:

A screenshot of a computer

AI-generated content may be incorrect.