<?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 .Net : Get measure and dimension for autochart in sheet in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/API-Net-Get-measure-and-dimension-for-autochart-in-sheet/m-p/2475889#M21079</link>
    <description>&lt;P&gt;it's work fine for me&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Mon, 12 Aug 2024 15:39:34 GMT</pubDate>
    <dc:creator>gwendolineMeta</dc:creator>
    <dc:date>2024-08-12T15:39:34Z</dc:date>
    <item>
      <title>API .Net : Get measure and dimension for autochart in sheet</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/API-Net-Get-measure-and-dimension-for-autochart-in-sheet/m-p/2474593#M21050</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;
&lt;P&gt;In my second shheet, I added a simple measure and simple dimension&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gwendolineMeta_0-1722864606692.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/170222i1A5CCD340FC1E644/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gwendolineMeta_0-1722864606692.png" alt="gwendolineMeta_0-1722864606692.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;How can I get this measure and dimension ?&lt;/P&gt;
&lt;P&gt;I try with the public examples (&lt;A href="https://github.com/AptkQlik/PublicExamples" target="_blank"&gt;https://github.com/AptkQlik/PublicExamples&lt;/A&gt;) but there are&amp;nbsp; no case for "auto-chart"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gwendolineMeta_1-1722865099060.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/170223i960F3AC6F78E6141/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gwendolineMeta_1-1722865099060.png" alt="gwendolineMeta_1-1722865099060.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Is it possible to get the linked fields?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the first sheet I call app.GetMeasureList() to get the&amp;nbsp; measure but for the measure in the second sheet it's doesn't work&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gwendolineMeta_2-1722865513766.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/170225i3956298E3A002ABF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gwendolineMeta_2-1722865513766.png" alt="gwendolineMeta_2-1722865513766.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank&lt;/P&gt;
&lt;P&gt;Gwendoline&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 13:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/API-Net-Get-measure-and-dimension-for-autochart-in-sheet/m-p/2474593#M21050</guid>
      <dc:creator>gwendolineMeta</dc:creator>
      <dc:date>2024-08-05T13:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: API .Net : Get measure and dimension for autochart in sheet</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/API-Net-Get-measure-and-dimension-for-autochart-in-sheet/m-p/2474644#M21051</link>
      <description>&lt;P&gt;For the auto-chart the&amp;nbsp;Properties.HyperCubeDef contains the measures, just like a barchart. If you want to use the example code just duplicate the barchart line for auto-chart.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 18:28:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/API-Net-Get-measure-and-dimension-for-autochart-in-sheet/m-p/2474644#M21051</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2024-08-05T18:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: API .Net : Get measure and dimension for autochart in sheet</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/API-Net-Get-measure-and-dimension-for-autochart-in-sheet/m-p/2474726#M21054</link>
      <description>&lt;P data-unlink="true"&gt;I don't found the class to cast for auto-chart (for &lt;A href="https://help.qlik.com/en-US/sense-developer/May2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.Barchart.htm" target="_self"&gt;Barchart,&lt;/A&gt; a class&amp;nbsp; exist)&lt;/P&gt;
&lt;P&gt;I try&amp;nbsp; with &lt;A href="https://help.qlik.com/en-US/sense-developer/May2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.VisualizationBase.htm" target="_self"&gt;visualizationBase&lt;/A&gt;&amp;nbsp;but Properties.HyperCubeDef doesn't exist.&lt;/P&gt;
&lt;P&gt;My object (genericObject) doesn't contain Properties.HyperCubeDef. &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gwendolineMeta_0-1722931023059.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/170258i386AFBA801670277/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gwendolineMeta_0-1722931023059.png" alt="gwendolineMeta_0-1722931023059.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;NB: I used the last version&amp;nbsp; QlikSense.NetSDK 16.8.0&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 08:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/API-Net-Get-measure-and-dimension-for-autochart-in-sheet/m-p/2474726#M21054</guid>
      <dc:creator>gwendolineMeta</dc:creator>
      <dc:date>2024-08-06T08:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: API .Net : Get measure and dimension for autochart in sheet</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/API-Net-Get-measure-and-dimension-for-autochart-in-sheet/m-p/2475838#M21076</link>
      <description>&lt;P&gt;You don't really need those client classes to access that info. You can rely on the "AbstractStructure" class to get you the information you need. I have an example focusing on hypercube usage here that might be of use to you:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/kolsrud/qlik-dot-net-sdk-hypercube-usage/tree/master/HypercubeUsage" target="_blank"&gt;https://github.com/kolsrud/qlik-dot-net-sdk-hypercube-usage/tree/master/HypercubeUsage&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In particular, have a look at this line which reads a segment of "GenericObjectProperties" and interprets it as being of type "HyperCubeDef":&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/kolsrud/qlik-dot-net-sdk-hypercube-usage/blob/master/HypercubeUsage/Program.cs#L77" target="_blank"&gt;https://github.com/kolsrud/qlik-dot-net-sdk-hypercube-usage/blob/master/HypercubeUsage/Program.cs#L77&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Once you've done that, you can access the structure as an instance of the "HyperCubeDef" class.&lt;/P&gt;
&lt;P&gt;All those classes from the Client namespace are there primarily to provide a typed layer for accessing entities in the client objects. That part is only partially part of the official API though, so it's not been maintained for quite a while as there is no formal spec available for the different properties of those client object. But the "HyperCubeDef" class is defined based on the engine API, so there is a formal definition available here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/May2024/Subsystems/EngineJSONAPI/Content/models-hypercubedef.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/May2024/Subsystems/EngineJSONAPI/Content/models-hypercubedef.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 13:30:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/API-Net-Get-measure-and-dimension-for-autochart-in-sheet/m-p/2475838#M21076</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2024-08-12T13:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: API .Net : Get measure and dimension for autochart in sheet</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/API-Net-Get-measure-and-dimension-for-autochart-in-sheet/m-p/2475889#M21079</link>
      <description>&lt;P&gt;it's work fine for me&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 15:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/API-Net-Get-measure-and-dimension-for-autochart-in-sheet/m-p/2475889#M21079</guid>
      <dc:creator>gwendolineMeta</dc:creator>
      <dc:date>2024-08-12T15:39:34Z</dc:date>
    </item>
  </channel>
</rss>

