<?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: Unable to Create() table using QlikSense Visualization API in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-Create-table-using-QlikSense-Visualization-API/m-p/30955#M452</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The create method you are linking to has three parameters:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;type&lt;/LI&gt;&lt;LI&gt;cols&lt;/LI&gt;&lt;LI&gt;options&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I don't see that structure in your snippet. What is possible is leaving cols empty and instead build the whole structure in the options parameter, but if you do that (which I guess is what you are trying) you need to get everything right, like the arrays for sortorder and columnorder or it will break. Probably the best way to do that is to check the structure of an existing table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you could use the cols array, in that case the visualization API will fix the other arrays for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik Wetterberg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Apr 2018 20:38:29 GMT</pubDate>
    <dc:creator>ErikWetterberg</dc:creator>
    <dc:date>2018-04-27T20:38:29Z</dc:date>
    <item>
      <title>Unable to Create() table using QlikSense Visualization API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-Create-table-using-QlikSense-Visualization-API/m-p/30954#M451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am having trouble rendering a QlikSense table in my web application. I am making use of the Create() method defined here: &lt;A href="https://help.qlik.com/en-US/sense-developer/February2018/Subsystems/APIs/Content/CapabilityAPIs/VisualizationAPI/create-method.htm" title="https://help.qlik.com/en-US/sense-developer/February2018/Subsystems/APIs/Content/CapabilityAPIs/VisualizationAPI/create-method.htm"&gt;https://help.qlik.com/en-US/sense-developer/February2018/Subsystems/APIs/Content/CapabilityAPIs/VisualizationAPI/create-…&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;This is how I am defining my table:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "type": "table",&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "options":&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;"qHyperCubeDef": {&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;"qDimensions": [&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&amp;nbsp; {&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;"qDef": {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 120px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;"qFieldDefs": ["STUDENT.YEAR"],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 120px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;"qFieldLabels": ["Year"],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;},&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;},&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&amp;nbsp; {&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;"qDef": {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 120px;"&gt;"qFieldDefs": ["STUDENT.ETHNICITY"],&lt;/P&gt;&lt;P style="padding-left: 120px;"&gt;"qFieldLabels": ["Ethnicity"],&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&amp;nbsp; },&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&amp;nbsp; }],&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&amp;nbsp; "qMeasures": [&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&amp;nbsp; "qDef": {&lt;/P&gt;&lt;P style="padding-left: 120px;"&gt;&amp;nbsp; "qLabel": "Percent Met",&lt;/P&gt;&lt;P style="padding-left: 120px;"&gt;&amp;nbsp; "qDef": `&lt;/P&gt;&lt;P style="padding-left: 150px;"&gt;&amp;nbsp; =count({$&amp;lt;&lt;/P&gt;&lt;P style="padding-left: 180px;"&gt;&amp;nbsp; STATE_ASSESSMENT.TEST_NAME = {'MSTEP'},&lt;/P&gt;&lt;P style="padding-left: 180px;"&gt;&amp;nbsp; STATE_ASSESSMENT.PERFORMANCE_LEVEL_MET_FLAG = {1}&lt;/P&gt;&lt;P style="padding-left: 180px;"&gt;&amp;nbsp; &amp;gt;} STATE_ASSESSMENT.PERFORMANCE_LEVEL_MET_FLAG&lt;/P&gt;&lt;P style="padding-left: 150px;"&gt;&amp;nbsp; ) /&lt;/P&gt;&lt;P style="padding-left: 150px;"&gt;&amp;nbsp; count({$&amp;lt;&lt;/P&gt;&lt;P style="padding-left: 180px;"&gt;&amp;nbsp; STATE_ASSESSMENT.TEST_NAME = {'MSTEP'}&lt;/P&gt;&lt;P style="padding-left: 180px;"&gt;&amp;nbsp; &amp;gt;} STATE_ASSESSMENT.PERFORMANCE_LEVEL_MET_FLAG&lt;/P&gt;&lt;P style="padding-left: 150px;"&gt;&amp;nbsp; )&lt;/P&gt;&lt;P style="padding-left: 120px;"&gt;&amp;nbsp; `,&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&amp;nbsp; },&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;}]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; }&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;I am fairly certain that nothing is wrong with the dimension or measure definitions because I have made the exact same definitions in a line chart, and it renders fine. Below is what my table looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="201032" alt="scrshot_04272018.PNG" class="jive-image image-1" height="504" src="https://community.qlik.com/legacyfs/online/201032_scrshot_04272018.PNG" style="font-size: 13.3333px; width: 708.571px; height: 504px;" width="709" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, the top chart displays fine, but the table just shows Totals (ignore the chart/table view toggle above the chart).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain to me what I am doing wrong, or how I can troubleshoot further?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: Also, when I go into Developer Mode in Chrome, I get the following error on my console:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="scrshot_04272018_2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/201033_scrshot_04272018_2.PNG" style="height: 144px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 20:02:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-Create-table-using-QlikSense-Visualization-API/m-p/30954#M451</guid>
      <dc:creator>dselgo_eidex</dc:creator>
      <dc:date>2018-04-27T20:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Create() table using QlikSense Visualization API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-Create-table-using-QlikSense-Visualization-API/m-p/30955#M452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The create method you are linking to has three parameters:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;type&lt;/LI&gt;&lt;LI&gt;cols&lt;/LI&gt;&lt;LI&gt;options&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I don't see that structure in your snippet. What is possible is leaving cols empty and instead build the whole structure in the options parameter, but if you do that (which I guess is what you are trying) you need to get everything right, like the arrays for sortorder and columnorder or it will break. Probably the best way to do that is to check the structure of an existing table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you could use the cols array, in that case the visualization API will fix the other arrays for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik Wetterberg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 20:38:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-Create-table-using-QlikSense-Visualization-API/m-p/30955#M452</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2018-04-27T20:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Create() table using QlikSense Visualization API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-Create-table-using-QlikSense-Visualization-API/m-p/30956#M453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to do it by building the structure in the options parameter because I feel like it gives more control over the visualization. I found the cols argument to be less specific. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've reviewed this option parameter closely and can't find what could be wrong with it. Additionally, this is the exact same argument I am passing to the line chart, but it is not displaying correctly for me in a straight table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 13:54:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-Create-table-using-QlikSense-Visualization-API/m-p/30956#M453</guid>
      <dc:creator>dselgo_eidex</dc:creator>
      <dc:date>2018-04-30T13:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Create() table using QlikSense Visualization API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-Create-table-using-QlikSense-Visualization-API/m-p/30957#M454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There are several properties that are specific to tables, and it might krasch if they are missing. Your best chance to get it right is to create a table in the client and then take a look at the properties. You can do that with my DevTools extension &lt;A href="https://github.com/erikwett/DevTool" title="https://github.com/erikwett/DevTool"&gt;https://github.com/erikwett/DevTool&lt;/A&gt;. probably you are missing some array, I think there is one called columnOrder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik Wetterberg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 05:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-Create-table-using-QlikSense-Visualization-API/m-p/30957#M454</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2018-05-01T05:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Create() table using QlikSense Visualization API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-Create-table-using-QlikSense-Visualization-API/m-p/30958#M455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for creating this extension. It has helped me and my time greatly for defining our visualizations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using it on a table and got qHyperCubeDef, but unfortunately I still wasn't able to resolve my issue. I came to the conclusion that the API we are using to create QlikSense visualizations in our ReactJS app was causing the issue (&lt;A href="https://github.com/qlik-demo-team/qdt-components" title="https://github.com/qlik-demo-team/qdt-components"&gt;https://github.com/qlik-demo-team/qdt-components&lt;/A&gt;). No matter what we did, we couldn't get a straight table by defining the hypercube.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We ended up trying out a Pivot Table instead and got it to work using your extension. Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 18:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-Create-table-using-QlikSense-Visualization-API/m-p/30958#M455</guid>
      <dc:creator>dselgo_eidex</dc:creator>
      <dc:date>2018-05-04T18:18:44Z</dc:date>
    </item>
  </channel>
</rss>

