<?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: Api to retrieve data(All rows) based on field/Dimension given in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Api-to-retrieve-data-All-rows-based-on-field-Dimension-given/m-p/1373018#M8065</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess the exact approach will depend on the technology you use, but you might want do look at this site which describes how to get data in C#:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/sense-developer/June2017/Subsystems/NetSDKAPI/Content/HowTos/Net-Sdk-How-To-Retrieving-Data.htm" title="http://help.qlik.com/en-US/sense-developer/June2017/Subsystems/NetSDKAPI/Content/HowTos/Net-Sdk-How-To-Retrieving-Data.htm"&gt;Retrieving data ‒ Qlik Sense&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In particular, you can use these two methods together:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/sense-developer/June2017/apis/net%20sdk/html/M_Qlik_Sense_Client_AppExtensions_GetAppField.htm" title="http://help.qlik.com/en-US/sense-developer/June2017/apis/net%20sdk/html/M_Qlik_Sense_Client_AppExtensions_GetAppField.htm"&gt;AppExtensions.GetAppField Method&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/sense-developer/June2017/apis/net%20sdk/html/M_Qlik_Engine_DataPager_IteratePages.htm" title="http://help.qlik.com/en-US/sense-developer/June2017/apis/net%20sdk/html/M_Qlik_Engine_DataPager_IteratePages.htm"&gt;DataPager.IteratePages Method&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code would look something like this (for a field named "Country"):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15069364930139390" jivemacro_uid="_15069364930139390" modifiedtitle="true"&gt;
&lt;P&gt;var appField = app.GetAppField("Country");&lt;/P&gt;
&lt;P&gt;var initalPage = new NxPage {&lt;CODE class="language-csharp" data-language="C#"&gt;Top &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token number"&gt;0&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; Left &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token number"&gt;0&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; Width &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token number"&gt;1&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; Height &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token number"&gt;100&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;var allData = appField.ListObjectPager.IteratePages(new []{initalPage}, Pager.Next);&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Oct 2017 09:33:26 GMT</pubDate>
    <dc:creator>Øystein_Kolsrud</dc:creator>
    <dc:date>2017-10-02T09:33:26Z</dc:date>
    <item>
      <title>Api to retrieve data(All rows) based on field/Dimension given</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Api-to-retrieve-data-All-rows-based-on-field-Dimension-given/m-p/1373017#M8064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a set of fields/dimensions(my case) for which I need to retrieve the data(all Values/rows) . &lt;/P&gt;&lt;P&gt;I strongly believe there can be a possibility as qliksense can be used as a data warehouse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me with the APIs that needs to be used to achieve my requirement.&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiriti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 13:51:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Api-to-retrieve-data-All-rows-based-on-field-Dimension-given/m-p/1373017#M8064</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-29T13:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Api to retrieve data(All rows) based on field/Dimension given</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Api-to-retrieve-data-All-rows-based-on-field-Dimension-given/m-p/1373018#M8065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess the exact approach will depend on the technology you use, but you might want do look at this site which describes how to get data in C#:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/sense-developer/June2017/Subsystems/NetSDKAPI/Content/HowTos/Net-Sdk-How-To-Retrieving-Data.htm" title="http://help.qlik.com/en-US/sense-developer/June2017/Subsystems/NetSDKAPI/Content/HowTos/Net-Sdk-How-To-Retrieving-Data.htm"&gt;Retrieving data ‒ Qlik Sense&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In particular, you can use these two methods together:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/sense-developer/June2017/apis/net%20sdk/html/M_Qlik_Sense_Client_AppExtensions_GetAppField.htm" title="http://help.qlik.com/en-US/sense-developer/June2017/apis/net%20sdk/html/M_Qlik_Sense_Client_AppExtensions_GetAppField.htm"&gt;AppExtensions.GetAppField Method&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/sense-developer/June2017/apis/net%20sdk/html/M_Qlik_Engine_DataPager_IteratePages.htm" title="http://help.qlik.com/en-US/sense-developer/June2017/apis/net%20sdk/html/M_Qlik_Engine_DataPager_IteratePages.htm"&gt;DataPager.IteratePages Method&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code would look something like this (for a field named "Country"):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15069364930139390" jivemacro_uid="_15069364930139390" modifiedtitle="true"&gt;
&lt;P&gt;var appField = app.GetAppField("Country");&lt;/P&gt;
&lt;P&gt;var initalPage = new NxPage {&lt;CODE class="language-csharp" data-language="C#"&gt;Top &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token number"&gt;0&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; Left &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token number"&gt;0&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; Width &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token number"&gt;1&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; Height &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token number"&gt;100&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;var allData = appField.ListObjectPager.IteratePages(new []{initalPage}, Pager.Next);&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2017 09:33:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Api-to-retrieve-data-All-rows-based-on-field-Dimension-given/m-p/1373018#M8065</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2017-10-02T09:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Api to retrieve data(All rows) based on field/Dimension given</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Api-to-retrieve-data-All-rows-based-on-field-Dimension-given/m-p/1373019#M8066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think height = 100 will fetch only 100 rows but I want to get all rows.&lt;/P&gt;&lt;P&gt;Ofcourse workaround can be get the no of rows then fetch accordingly.&lt;/P&gt;&lt;P&gt;But I would like to know any possibility of getting all rows for a field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. it helps me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 14:32:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Api-to-retrieve-data-All-rows-based-on-field-Dimension-given/m-p/1373019#M8066</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-03T14:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Api to retrieve data(All rows) based on field/Dimension given</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Api-to-retrieve-data-All-rows-based-on-field-Dimension-given/m-p/1373020#M8067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That "IteratePages" call will actually fetch you all the data, but it will do so by fetching a sequence of consecutive pages, each 100 entries long. The &lt;A href="http://help.qlik.com/en-US/sense-developer/June2017/apis/net%20sdk/html/M_Qlik_Engine_Pager_Next.htm" title="http://help.qlik.com/en-US/sense-developer/June2017/apis/net%20sdk/html/M_Qlik_Engine_Pager_Next.htm"&gt;Pager.Next method&lt;/A&gt;‌ ensures that each page is the next in line. (I see the documentation of that method should be more specific though...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that what you are really after is a full list of NxCell entries. To get there you could do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15071858763088075" jivemacro_uid="_15071858763088075" modifiedtitle="true"&gt;
&lt;P&gt;var allCells = allData.SelectMany(pages =&amp;gt; pages.First().Matrix).Select(row =&amp;gt; row.First());&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, I should probably have named that "allData" variable "allPages" instead. That would be more more correct description.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another approach would be to check the cardinality of the field and then get one single big page that contains it all, but remember that the engine has a limit on the size of pages you can fetch. A page is not allowed to exceed 10 000 cells. So for big fields you will have to do some form of iterations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 07:02:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Api-to-retrieve-data-All-rows-based-on-field-Dimension-given/m-p/1373020#M8067</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2017-10-05T07:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Api to retrieve data(All rows) based on field/Dimension given</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Api-to-retrieve-data-All-rows-based-on-field-Dimension-given/m-p/1373021#M8068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. But I want to execute this in java script which I am still struggling to find. Before executing in code I want to execute this in Engine API explorer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 09:27:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Api-to-retrieve-data-All-rows-based-on-field-Dimension-given/m-p/1373021#M8068</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-05T09:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Api to retrieve data(All rows) based on field/Dimension given</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Api-to-retrieve-data-All-rows-based-on-field-Dimension-given/m-p/1373022#M8069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah... For javascript I'm sure others can give you better guidance. But to access the data from the Engine API explorer you might want to have a look at this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/sense-developer/June2017/Subsystems/EngineAPI/Content/WorkingWithAppsAndVisualizations/RenderLayout/get-values-listbox.htm" title="http://help.qlik.com/en-US/sense-developer/June2017/Subsystems/EngineAPI/Content/WorkingWithAppsAndVisualizations/RenderLayout/get-values-listbox.htm"&gt;Get the values of a list object ‒ Qlik Sense&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 10:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Api-to-retrieve-data-All-rows-based-on-field-Dimension-given/m-p/1373022#M8069</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2017-10-05T10:25:53Z</dc:date>
    </item>
  </channel>
</rss>

