<?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 Re: Mashup - Build the &amp;quot;Show Details&amp;quot; feature in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Build-the-quot-Show-Details-quot-feature/m-p/1809338#M14981</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have checked but unfortunately that is not possible with App API.&lt;/P&gt;&lt;P&gt;If you want to call the Engine API with&amp;nbsp; javascript, you can use enigma.js in your mashup.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/qlik-oss/enigma.js/" target="_blank"&gt;https://github.com/qlik-oss/enigma.js/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 May 2021 08:23:52 GMT</pubDate>
    <dc:creator>Damien_V</dc:creator>
    <dc:date>2021-05-20T08:23:52Z</dc:date>
    <item>
      <title>Mashup - Build the "Show Details" feature</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Build-the-quot-Show-Details-quot-feature/m-p/1805295#M14912</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am&amp;nbsp; implementing a feature in mashup like the "Show Details" feature in Qlik Sense hub.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am having on app:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Quy_Nguyen_0-1620201604574.png" style="width: 570px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54282i7F78C4BBB3DE0D7B/image-dimensions/570x201?v=v2" width="570" height="201" role="button" title="Quy_Nguyen_0-1620201604574.png" alt="Quy_Nguyen_0-1620201604574.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Master dimension definition:&amp;nbsp; I am using some custom UI function (variable with input) for getting multilingual label/description like this ( &lt;EM&gt;&lt;STRONG&gt;=$(fUI_LanguageGetText(POS_Article_No_Title))&lt;/STRONG&gt; &lt;/EM&gt;). This dimension is being used on the bar chart above and shown the correct value in "Show details" view. Its ID:&amp;nbsp;&lt;EM&gt;"&lt;FONT color="#000000"&gt;&lt;STRONG&gt;4e42aae9-1e9e-4f60-94c0-e4da8e17226b&lt;/STRONG&gt;&lt;/FONT&gt;"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Quy_Nguyen_1-1620201656092.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54283iBD71E2BB9210D797/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Quy_Nguyen_1-1620201656092.png" alt="Quy_Nguyen_1-1620201656092.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The idea is getting charts info and also master dimensions/measures info from App API.&lt;/P&gt;&lt;P&gt;I used this code block to get the dimension list:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;  app.getList("DimensionList", function(reply) {
        console.log(reply);
    })&lt;/LI-CODE&gt;&lt;P&gt;But the API result is empty for the description of the dimension above:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Quy_Nguyen_4-1620202702000.png" style="width: 515px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54286i2D0762512AE50A1E/image-dimensions/515x210?v=v2" width="515" height="210" role="button" title="Quy_Nguyen_4-1620202702000.png" alt="Quy_Nguyen_4-1620202702000.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like API doesn't return the correct evaluated expression.&lt;/P&gt;&lt;P&gt;Then I tried to open DevTools on web browser and see what happened on the app when I click "Show Details" icon on Qlik Sense hub. This is the request result from API Engine:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Quy_Nguyen_5-1620203018310.png" style="width: 787px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54287i4147C243FD95A198/image-dimensions/787x398?v=v2" width="787" height="398" role="button" title="Quy_Nguyen_5-1620203018310.png" alt="Quy_Nguyen_5-1620203018310.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The request also returned&amp;nbsp; empty string for description, but on the hub it is not empty:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Quy_Nguyen_6-1620203174261.png" style="width: 489px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54289i8CD9144D2CE55696/image-dimensions/489x258?v=v2" width="489" height="258" role="button" title="Quy_Nguyen_6-1620203174261.png" alt="Quy_Nguyen_6-1620203174261.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;** If I use a plain text for it (e.g. "Test description") instead of the variable string, app API and Engine API return that text in the description normally.&lt;/P&gt;&lt;P&gt;Since using variables for description/label is required in my app for the multilingual, I want to ask if there is any way we could get them by API?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was totally stuck with this. Any lead would be much appreciated!&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 08:36:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Build-the-quot-Show-Details-quot-feature/m-p/1805295#M14912</guid>
      <dc:creator>Quy_Nguyen</dc:creator>
      <dc:date>2021-05-05T08:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup - Build the "Show Details" feature</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Build-the-quot-Show-Details-quot-feature/m-p/1809298#M14979</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/18927"&gt;@Quy_Nguyen&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;With the Engine API, you would just need to do a GetDimension() or GetMeasure() then do a get layout on the dimension/measure specifying the handle you got from GetDimension()/GetMeasure()&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
	"handle": 1,
	"method": "GetDimension",
	"params": {
		"qId": "QFQTy"
	}
}&lt;/LI-CODE&gt;&lt;P&gt;Response:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
	"jsonrpc": "2.0",
	"id": 8,
	"delta": true,
	"result": {
		"qReturn": {
			"qType": "GenericDimension",
			"qHandle": 3,
			"qGenericType": "dimension",
			"qGenericId": "QFQTy"
		}
	}
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GetLayout() request:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
	"handle": 3,
	"method": "GetLayout",
	"params": {}
}&lt;/LI-CODE&gt;&lt;P&gt;Response:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
	"jsonrpc": "2.0",
	"id": 9,
	"delta": true,
	"result": {
		"qLayout": {
			"qInfo": {
				"qId": "QFQTy",
				"qType": "dimension"
			},
			"qMeta": {
				"privileges": [
					"read",
					"update",
					"delete",
					"exportdata",
					"approve"
				],
				"title": "StaticName",
				"description": "",
				"tags": []
			},
			"qDim": {
				"qGrouping": "N",
				"qFieldDefs": [
					"=Avg(Expression1)"
				],
				"qFieldLabels": [
					"StaticName"
				],
				"qLabelExpression": "267932",
				"title": "StaticName",
				"descriptionExpression": "946",
				"coloring": {
					"changeHash": "0.3148510142163914"
				}
			},
			"qDimInfos": [
				{
					"qApprMaxGlyphCount": 0,
					"qCardinal": 0,
					"qTags": []
				}
			]
		}
	}
}&lt;/LI-CODE&gt;&lt;P&gt;You can see the calculated value of description in "DescriptionExpression"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 07:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Build-the-quot-Show-Details-quot-feature/m-p/1809298#M14979</guid>
      <dc:creator>Damien_V</dc:creator>
      <dc:date>2021-05-20T07:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup - Build the "Show Details" feature</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Build-the-quot-Show-Details-quot-feature/m-p/1809326#M14980</link>
      <description>&lt;P&gt;Hello Damien,&lt;/P&gt;&lt;P&gt;Thank you for your support. I see it.&lt;/P&gt;&lt;P&gt;By the way, is there any way to get that information by App API?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 07:55:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Build-the-quot-Show-Details-quot-feature/m-p/1809326#M14980</guid>
      <dc:creator>Quy_Nguyen</dc:creator>
      <dc:date>2021-05-20T07:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup - Build the "Show Details" feature</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Build-the-quot-Show-Details-quot-feature/m-p/1809338#M14981</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have checked but unfortunately that is not possible with App API.&lt;/P&gt;&lt;P&gt;If you want to call the Engine API with&amp;nbsp; javascript, you can use enigma.js in your mashup.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/qlik-oss/enigma.js/" target="_blank"&gt;https://github.com/qlik-oss/enigma.js/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 08:23:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-Build-the-quot-Show-Details-quot-feature/m-p/1809338#M14981</guid>
      <dc:creator>Damien_V</dc:creator>
      <dc:date>2021-05-20T08:23:52Z</dc:date>
    </item>
  </channel>
</rss>

