This document illustrates how to use the Tab List widget on Dashboard 1 to control the General Title widget on Dashboard 2, enabling cross-screen interaction.
Effect Display
Scenarios
Use this approach when you want to create interactive effects between widgets across multiple dashboards.
Procedure
-
Access the DataV console.
Configure the Main Screen
Choose a dashboard and rename it to Main Screen. Then, click Edit to access the canvas editor.
Add the Tab List widget to the canvas.
Click the
icon in the upper left corner to switch to the blueprint view.In the Layer Node tab, add the Tab List node to the main blueprint canvas.
Navigate to the Logic Node tab and add Serial Data Processing and Websocket nodes to the main blueprint canvas.
Select the Websocket node and in the Endpoint section of the configuration panel, enter the test address you've obtained. Rename the action to Next and remove any unnecessary event and action nodes.
NoteFor the Endpoint, see how to use the DataV-WS service for details on obtaining it.
Connect the components.

Set up the serial data processing node method.
return [{"value":data.content}];
Configure the Secondary Screen
Select another dashboard and rename it Secondary Screen. Click Edit to access the canvas editor.
Add the General Title widget to the canvas.
Click the
icon in the upper left corner to switch to the blueprint view.In the Layer Node tab, add the General Title node to the main blueprint canvas.
Click the Logic Node tab and add Websocket to the main blueprint canvas.
Select the Websocket node and in the Endpoint section of the right configuration panel, enter the same address as the main screen. Rename the event to Next.
ImportantEnsure the main and secondary screens are grouped consistently, as the secondary screen functions as the accepter and only needs to be configured to receive messages.
Connect the components.

To preview the display results, click the Preview icon located in the upper right corner of the screen pages.

Troubleshooting
The WS service is not directly accessible under the HTTPS protocol. Use the WSS service and proxy the WS endpoint with your SSL certificate for HTTPS access.
Press F12 to open the browser's debug page. In the WS section under the Network tab, check for cross-domain issues and confirm if the Response in the Header has set Sec-WebSocket-Protocol to
echo-protocol.Once connected, send parameters according to the message format specified in the documentation.