<?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 Masteritem Creation API SDK .net in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Masteritem-Creation-API-SDK-net/m-p/1541186#M9978</link>
    <description>Hi!&lt;BR /&gt;I have a question regarding the generation of MasterItems via .NET. I have developed a little Console App which is taken as input an .xlsx file and generates accordingly to the definition the MasterItems, which means Dimensions and Measures. All is working fine, just the Label Expression are not created successfully.&lt;BR /&gt;Please take in a look to my code and especially the part of code related to the FieldLabels which is not taken in account during the creation of the MasterDimension.&lt;BR /&gt;Is there any mistake or I miss something?&lt;BR /&gt;&lt;BR /&gt;public void CreateMasterDimension(string id, string metaTitleDef, string metaDescriptionDef, string fieldDef, string fieldDefLabel)&lt;BR /&gt;{&lt;BR /&gt;IDimension myDimension = QsIApp.CreateDimension(id,&lt;BR /&gt;new DimensionProperties&lt;BR /&gt;{&lt;BR /&gt;MetaDef = new MetaAttributesDef&lt;BR /&gt;{&lt;BR /&gt;Title = metaTitleDef,&lt;BR /&gt;Description = metaDescriptionDef&lt;BR /&gt;},&lt;BR /&gt;Dim = new NxLibraryDimensionDef&lt;BR /&gt;{&lt;BR /&gt;FieldDefs = new[] { fieldDef },&lt;BR /&gt;FieldLabels = new[] { "Dummy" }&lt;BR /&gt;}&lt;BR /&gt;});&lt;BR /&gt;&lt;BR /&gt;QsIApp.DoSave();&lt;BR /&gt;QSReadMasterItems();&lt;BR /&gt;}</description>
    <pubDate>Sat, 16 Nov 2024 06:38:48 GMT</pubDate>
    <dc:creator>pamaxeed</dc:creator>
    <dc:date>2024-11-16T06:38:48Z</dc:date>
    <item>
      <title>Masteritem Creation API SDK .net</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Masteritem-Creation-API-SDK-net/m-p/1541186#M9978</link>
      <description>Hi!&lt;BR /&gt;I have a question regarding the generation of MasterItems via .NET. I have developed a little Console App which is taken as input an .xlsx file and generates accordingly to the definition the MasterItems, which means Dimensions and Measures. All is working fine, just the Label Expression are not created successfully.&lt;BR /&gt;Please take in a look to my code and especially the part of code related to the FieldLabels which is not taken in account during the creation of the MasterDimension.&lt;BR /&gt;Is there any mistake or I miss something?&lt;BR /&gt;&lt;BR /&gt;public void CreateMasterDimension(string id, string metaTitleDef, string metaDescriptionDef, string fieldDef, string fieldDefLabel)&lt;BR /&gt;{&lt;BR /&gt;IDimension myDimension = QsIApp.CreateDimension(id,&lt;BR /&gt;new DimensionProperties&lt;BR /&gt;{&lt;BR /&gt;MetaDef = new MetaAttributesDef&lt;BR /&gt;{&lt;BR /&gt;Title = metaTitleDef,&lt;BR /&gt;Description = metaDescriptionDef&lt;BR /&gt;},&lt;BR /&gt;Dim = new NxLibraryDimensionDef&lt;BR /&gt;{&lt;BR /&gt;FieldDefs = new[] { fieldDef },&lt;BR /&gt;FieldLabels = new[] { "Dummy" }&lt;BR /&gt;}&lt;BR /&gt;});&lt;BR /&gt;&lt;BR /&gt;QsIApp.DoSave();&lt;BR /&gt;QSReadMasterItems();&lt;BR /&gt;}</description>
      <pubDate>Sat, 16 Nov 2024 06:38:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Masteritem-Creation-API-SDK-net/m-p/1541186#M9978</guid>
      <dc:creator>pamaxeed</dc:creator>
      <dc:date>2024-11-16T06:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Masteritem Creation API SDK .net</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Masteritem-Creation-API-SDK-net/m-p/1542176#M9994</link>
      <description>&lt;P&gt;I think you need to define the property "qLabelExpression" as well. I can recommend using the tool &lt;A href="https://help.qlik.com/en-US/sense-developer/November2018/Subsystems/Plugins/Content/Sense_Plugins/Introduction/Plugin-Intro.htm" target="_self"&gt;Qlik Explorer for Developers&lt;/A&gt; when you want to investigate what the properties and layout structures used by Qlik Sense looks like. Here is an example screenshot of the properties for a master dimension I created: &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="MasterDimension.png" style="width: 412px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5641i886998054EC39C78/image-size/large?v=v2&amp;amp;px=999" role="button" title="MasterDimension.png" alt="MasterDimension.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 09:31:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Masteritem-Creation-API-SDK-net/m-p/1542176#M9994</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2019-02-11T09:31:21Z</dc:date>
    </item>
  </channel>
</rss>

