Knowledge Base Article

Jump To Dashboard (JTD) BloX Close Button - Linux

Introduction

When using the Jump to Dashboard (JTD) feature, the modal window can only be closed by clicking outside of it. This guide explains how to use Blox to create a button inside the modal, allowing users to close it easily.

Step-by-Step Guide

Step 1: Create a BloX Widget

  • Add a BloX widget inside the JTD dashboard (the dashboard users jump to). Example code is below:
{
    "style": "",
    "script": "",
    "title": "",
    "titleStyle": [
        {
            "display": "none"
        }
    ],
    "showCarousel": false,
    "body": [],
    "actions": [
        {
            "type": "CloseIframe",
            "title": "Close",
            "style": {
                "background-color": "#115740"
            }
        }
    ]
}​

Step 2: Create a BloX Custom Action

  • Add a custom action "CloseIframe" in BloX and include the following script:

    $('.md-overlay', window.parent.document).click();
  • This script triggers the close action when the button is clicked.

Note: You can replace the button with an image (e.g., an "X" icon) and attach the close action to it.

Conclusion

By adding a BloX button or image with a custom action, users can close the JTD modal window without clicking outside. This enhances usability and improves navigation within the dashboard.

Disclaimer: This post outlines a potential custom workaround for a specific use case or provides instructions regarding a specific task. The solution may not work in all scenarios or Sisense versions, so we strongly recommend testing it in your environment before deployment. If you need further assistance with this please let us know.

Updated 03-17-2025
No CommentsBe the first to comment