All Products
Search
Document Center

DataV:Test preview guide

Last Updated:May 30, 2025

The dashboard test preview feature records interaction logs and error messages in real-time, including widget operation records and abnormal details. This topic comprehensively introduces the functions and usage standards of the test preview interface.

Background information

DataV supports two dashboard preview modes: General Preview and Debugging Preview.

  • General Preview image: When you click General Preview under the icon in the upper-right corner of the canvas/blueprint editor, DataV does not record interaction logs or error messages during dashboard preview.

  • Debugging Preview image: When you click Debugging Preview under the icon in the upper-right corner of the canvas/blueprint editor, DataV records interaction logs and error messages during dashboard preview.

Note

The Debuggingt Preview feature is only available for PC dashboards. Mobile dashboards do not support Debugging Preview.

Prerequisites

Access the test preview page

  1. Access the DataV console.

  2. On the All Projects page, hover over the target dashboard and click Edit to access the canvas editor page.

  3. On the dashboard editing page, click the {9602C26E-53FD-4F68-BB6F-EC2AB2D953A5} icon in the top menu bar to access the blueprint editor.

  4. Select the node you want to test, right-click and select Logging.

    Note

    Enabling the log recording feature allows you to trace operation behaviors. The connection line will be displayed in red. If a node does not need to be tested, you can click Disable Logging in the same operation interface.

  5. image Click Debugging Preview under the icon in the upper-right corner to access the test preview page.

    Note

    During testing, you can use the minimum granularity log recording mechanism to achieve end-to-end problem tracing. When a target widget does not produce the expected interaction effect, you can trace backward from its triggered action, verifying the accuracy of input data at each node level by level.

Page introduction

After entering the Debugging Preview interface, execute an interaction action to start the test status. The page features are shown below.

11

Number

Description

1

User interaction module. You can click to view the configured interaction effects.

2

Blueprint log logic module. This section displays the connection logic of nodes in the blueprint log page. You can view the logical details of blueprint nodes.

3

Blueprint log details module. You can click Record/Stop to enable and disable the listener function, or click Clear to clear the current blueprint logs. In this module, you can view the source node, target node, source event, and target action of the logs, and perform interaction log related operations.

Note

To prevent log refreshing from affecting dashboard performance, it is recommended to turn off automatic data updates or increase the automatic data update duration during test preview.

4

Widget log module. If a widget has issues such as data source errors, filter errors, or initialization errors, the widget log will be displayed here.image

5

Widget log details module. Click an error log on the left to view the widget log error details here.image

Log information

When performing interaction operations in the test preview interface, if an interaction connection line with log recording enabled is triggered, the system will automatically record the upstream and downstream node relationships of that connection and the data snapshot at the time of interaction triggering. Log information includes two types: interaction logs and widget logs. Interaction logs record the execution parameters and context information of widget actions in detail, while widget logs are specifically used to track and display abnormal errors during widget runtime.

Interaction logs

  • View log details: After each new interaction, a new record will be added at the top of the original log records. Click the image icon on the left of the log record to view the action execution parameters.image

  • Copy node ID: Double-click a node in the blueprint log logic module to copy the node ID.image

  • Repeat the previous operation: Double-click the event-action connection line in the blueprint log logic module to quickly execute the previous action.image

Widget logs

  • When a widget request encounters an error, a new error record will be added at the top of the panel. Click a log record to view the error details.image

    Common error types

    Error type

    Type description

    Data Retrieval Failed

    This error occurs when a widget encounters an error while requesting data from a data source. Data source requests may occur when a widget is first loaded, when a widget automatically updates, when a global variable triggers an update, or when a blueprint triggers a request data source action. It displays the occurrence time, widget name, data source, and error message.image

    Filter Execution Error

    After a widget successfully retrieves data from a data source, if an error occurs during filter processing, it will be recorded as a filter error. It displays the occurrence time, widget name, data source, filter, input data, and error message.image

    Widget Internal Error

    Errors that occur when rendering a widget or executing widget methods. It displays the widget ID and widget method.

    Node Internal Error

    Errors such as node initialization errors caused by issues in the blueprint node code.

    Note

    Warning messages will be generated when parameters for calling widget methods do not match the widget declaration.

  • Copy widget ID: Double-click the widget name in the error record to copy the ID to the clipboard.image

  • Search widget ID: Paste the copied widget ID into the editor search box to quickly locate the corresponding widget and modify its configuration based on the error message.image

  • Filter widget error logs: Enter a widget name, widget ID, filter, or error message in the input box to quickly filter all error entries related to the input information in the current error panel.