cancel
Showing results for 
Search instead for 
Did you mean: 
intapiuser
Community Team Member
Community Team Member
Closing the modal window of a Jump to Dashboard can only be done be clicking outside of the window. This post details how to use BloX to create a button that resides within the window, which allows users to close it. 

STEP 1

Create a BloX widget in the JTD dashboard (the dashboard that gets jumped to). 

STEP 2

Create a BloX custom action. The only script that should go in the custom action is the following:
$('.md-overlay', window.parent.document).click();
That's it! 

CUSTOMIZATION

It is even possible to create an image and attach the close action to it. Below, I have created an 'X' image and attached the action to it. 
The implementation of which looks like the below. In this case, the custom close action is called 'CloseIframe.' 
Version history
Last update:
‎03-02-2023 08:33 AM
Updated by:
Contributors
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]

Share this page: