<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to Enable Insight Advisor in app using API in Qlik sense? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-Enable-Insight-Advisor-in-app-using-API-in-Qlik-sense/m-p/1802665#M14818</link>
    <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I'm trying to Enable the Insight Advisor in app &lt;STRONG&gt;using API&lt;/STRONG&gt;. Is it possible? If so please share how.&lt;/P&gt;&lt;P&gt;This is for Enabling manually =&amp;gt;&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/February2021/Subsystems/Hub/Content/Sense_Hub/Insights/insight-advisor-enable-chat.htm" target="_self"&gt;Enable Apps for Insight Advisor&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to&amp;nbsp;&lt;STRONG&gt;Enable using API.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 26 Apr 2021 12:16:15 GMT</pubDate>
    <dc:creator>Manoj_Prabu</dc:creator>
    <dc:date>2021-04-26T12:16:15Z</dc:date>
    <item>
      <title>How to Enable Insight Advisor in app using API in Qlik sense?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-Enable-Insight-Advisor-in-app-using-API-in-Qlik-sense/m-p/1802665#M14818</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I'm trying to Enable the Insight Advisor in app &lt;STRONG&gt;using API&lt;/STRONG&gt;. Is it possible? If so please share how.&lt;/P&gt;&lt;P&gt;This is for Enabling manually =&amp;gt;&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/February2021/Subsystems/Hub/Content/Sense_Hub/Insights/insight-advisor-enable-chat.htm" target="_self"&gt;Enable Apps for Insight Advisor&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to&amp;nbsp;&lt;STRONG&gt;Enable using API.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 12:16:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-Enable-Insight-Advisor-in-app-using-API-in-Qlik-sense/m-p/1802665#M14818</guid>
      <dc:creator>Manoj_Prabu</dc:creator>
      <dc:date>2021-04-26T12:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to Enable Insight Advisor in app using API in Qlik sense?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-Enable-Insight-Advisor-in-app-using-API-in-Qlik-sense/m-p/1803410#M14831</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/127133"&gt;@Manoj_Prabu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, this is possible using the Engine API.&lt;/P&gt;&lt;P&gt;Actually, enabling the Insight Advisor chat is just a matter of creating a variable called "crossAppsSearchEnabled" inside the app and setting the value to 1.&lt;/P&gt;&lt;P&gt;So a rough workflow to have it enabled would be:&lt;/P&gt;&lt;P&gt;1. Open app&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
	"method": "OpenDoc",
	"handle": -1,
	"params": [
		"5c7b09cb-4b8e-4c37-af79-48c0fa4a3da8"
	],
	"id": 2
}&lt;/LI-CODE&gt;&lt;P&gt;2. Create variable&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{"delta":true,"handle":1,"method":"CreateVariableEx","params":[{"qInfo":{"qType":"variable"},"qName":"crossAppsSearchEnabled","qDefinition":"1","qComment":"","tags":[]}],"id":36,"jsonrpc":"2.0"}&lt;/LI-CODE&gt;&lt;P&gt;3. Get Variable by name, you will get back the id a handle to use to set the properties in step 4&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{"handle": 1,"method": "GetVariableByName","params": ["crossAppsSearchEnabled"]}&lt;/LI-CODE&gt;&lt;P&gt;Response example (pay attention to "qHandle" and genericObjectId:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
	"jsonrpc": "2.0",
	"id": 4,
	"delta": true,
	"result": {
		"qReturn": {
			"qType": "GenericVariable",
			"qHandle": 2,
			"qGenericType": "variable",
			"qGenericId": "08d8cef2-b1e1-418f-acb8-5e111b78feb5"
		}
	}
}&lt;/LI-CODE&gt;&lt;P&gt;4. Set variable properties&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
	"handle": 2,
	"method": "SetProperties",
	"params": [
		{
			"qInfo": {
				"qId": "08d8cef2-b1e1-418f-acb8-5e111b78feb5",
				"qType": "variable"
			},
			"qMetaDef": {},
			"qName": "crossAppsSearchEnabled",
			"qComment": "",
			"qNumberPresentation": {
				"qType": "U",
				"qnDec": 10,
				"qUseThou": 0,
				"qFmt": "",
				"qDec": "",
				"qThou": ""
			},
			"qIncludeInBookmark": false,
			"qDefinition": "1",
			"tags": []
		}
	],
	"id": 6,
	"jsonrpc": "2.0"
}&lt;/LI-CODE&gt;&lt;P&gt;5. Reload the app&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
	"handle": 1,
	"method": "DoReloadEx",
	"params": {
		"qParams": {
			"qMode": 0,
			"qPartial": false,
			"qDebug": false,
			"qReloadId": ""
		}
	}
}&lt;/LI-CODE&gt;&lt;P&gt;6. Save the app&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
	"handle": 1,
	"method": "DoSave",
	"params": {
		"qFileName": ""
	}
}&lt;/LI-CODE&gt;&lt;P&gt;Done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is some documentation on how to use the Engine API, this is a JSON-RPC websocket API&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/February2021/Subsystems/EngineAPI/Content/Sense_EngineAPI/GettingStarted/connecting-to-engine-api.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/February2021/Subsystems/EngineAPI/Content/Sense_EngineAPI/GettingStarted/connecting-to-engine-api.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 08:26:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-Enable-Insight-Advisor-in-app-using-API-in-Qlik-sense/m-p/1803410#M14831</guid>
      <dc:creator>Damien_V</dc:creator>
      <dc:date>2021-04-28T08:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to Enable Insight Advisor in app using API in Qlik sense?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-Enable-Insight-Advisor-in-app-using-API-in-Qlik-sense/m-p/1803417#M14833</link>
      <description>&lt;P&gt;It works. Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29425"&gt;@Damien_V&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 08:54:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-Enable-Insight-Advisor-in-app-using-API-in-Qlik-sense/m-p/1803417#M14833</guid>
      <dc:creator>Manoj_Prabu</dc:creator>
      <dc:date>2021-04-28T08:54:12Z</dc:date>
    </item>
  </channel>
</rss>

