Skip to main content

Suggest an Idea

Vote for your favorite Qlik product ideas and add your own suggestions.

Integrating Qlik Insights in Mashup

tauceef
Partner - Contributor III
Partner - Contributor III

Integrating Qlik Insights in Mashup

Currently Qlik Insight is not allowed for mashup integration. would like to get this extended to work in mashup as that would help customers to use this good feature.

Regards, Tauceef

4 Comments
Steven_Pressland
Employee
Employee

The Insight Advisor Search (in-app capability) is not currently embeddable. However we have provided the opportunity to embed Insight Advisor Chat on Windows into a mashup with the February 2021 release.

Status changed to: Partially Delivered
bhavinksoni
Contributor
Contributor

Hello @Steven_Pressland, I tried embedding the Insight Advisor Chat into mashup but it's not working. When I click on "Custom Insight Button" Nothing happens. I have the updated the server to February 2021 patch.

Below is the code I am using. Let me know if I am doing anything wrong.

HTML

<div id="IAChatToggle" style="position:fixed;top:0"></div>
<button id="chatModelId" type="button" class="lui-button" style="position:fixed;top:50px;right:0;">Custom Insight Button</button>

JavaScript

require( ["hub/external/hubchat/hub-chat-ui"], function ( hubChat ) {
    var openHubChat = hubChat.default.init({
        selector: '#IAChatToggle',
        host: (config.isSecure ? "https://" : "http://") + window.location.hostname,
        vpName: prefix !== '/' ? prefix.slice(0,-1) : '',
        mashupConfig: {
            chatWindow: false,
            hideCloseButton: false,
            useMashupStyle: true,
        },
        hasBeenRendered: function() {
            $('.chat-toggle-windows').removeClass('ant-btn');
            $('.chat-toggle-windows').remove();
        }
    });
       
    $('#chatModelId').click(openHubChat);
});

 

Thanks for your support.

Manoj_Prabu
Partner - Creator
Partner - Creator

Hi @Steven_Pressland ,

I Updated my Qlik Sense to February 2021 Patch 4. But still Insight Advisor chat window is not opening when I click the Custom button. I followed the same instruction given in the Qlik help for Integrating Insight Advisor Chat into a mashup. I also enabled Insights Capabilities in the selected app. Please do the needful.

Thanks.

Steven_Pressland
Employee
Employee
Please raise a support ticket if you are having trouble with this functionality and they will be able to help you.