<?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: CapVentis Dimension List (Cycle Group) not working in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/CapVentis-Dimension-List-Cycle-Group-not-working/m-p/959835#M3507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that, if I comment the line _app.variable.create(varName); in .js, the extension not create a new variable of a cyclic group, otherwise when the line &lt;SPAN style="font-size: 13.3333px;"&gt;_app.variable.create(varName); is not commented, &lt;SPAN style="color: #333333; font-family: Arial; font-size: 13px;"&gt;I see an error message "An error occurred. A variable with this name already exists. Please choose another name.". And I have to play: when I need to create a&amp;nbsp; variable, I uncomment the same line, later I have to comment that line to not throw an error. How to avoid this game?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Oct 2015 06:11:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-13T06:11:48Z</dc:date>
    <item>
      <title>CapVentis Dimension List (Cycle Group) not working</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/CapVentis-Dimension-List-Cycle-Group-not-working/m-p/959833#M3505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying an extention &lt;SPAN style="font-size: 10pt; color: #666666; font-family: Arial; line-height: 1.5em;"&gt;CapVentis Dimension List (Cycle Group). In my firs app, he's working great. I try include this extension to my second app and he's not working absolutely. Where is the problem? Wheter the problem is with .js file?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 14:47:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/CapVentis-Dimension-List-Cycle-Group-not-working/m-p/959833#M3505</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-12T14:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: CapVentis Dimension List (Cycle Group) not working</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/CapVentis-Dimension-List-Cycle-Group-not-working/m-p/959834#M3506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post your app here.&lt;/P&gt;&lt;P&gt;What is the problem wit the second app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 21:58:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/CapVentis-Dimension-List-Cycle-Group-not-working/m-p/959834#M3506</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-10-12T21:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: CapVentis Dimension List (Cycle Group) not working</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/CapVentis-Dimension-List-Cycle-Group-not-working/m-p/959835#M3507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that, if I comment the line _app.variable.create(varName); in .js, the extension not create a new variable of a cyclic group, otherwise when the line &lt;SPAN style="font-size: 13.3333px;"&gt;_app.variable.create(varName); is not commented, &lt;SPAN style="color: #333333; font-family: Arial; font-size: 13px;"&gt;I see an error message "An error occurred. A variable with this name already exists. Please choose another name.". And I have to play: when I need to create a&amp;nbsp; variable, I uncomment the same line, later I have to comment that line to not throw an error. How to avoid this game?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 06:11:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/CapVentis-Dimension-List-Cycle-Group-not-working/m-p/959835#M3507</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-13T06:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: CapVentis Dimension List (Cycle Group) not working</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/CapVentis-Dimension-List-Cycle-Group-not-working/m-p/959836#M3508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laura,&lt;/P&gt;&lt;P&gt;I have had the same problem in my variable extension. The problem is that in earlier versions this error was just ignored, since the UI didn't handle variables. In 2.1 it does, but on the other hand you can now also check if the variable already exists. I did this like this:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14448901753986371 jive_text_macro" jivemacro_uid="_14448901753986371"&gt;
&lt;P&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;function &lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;createVariable &lt;/SPAN&gt;( name ) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000080; font-weight: bold;"&gt;var &lt;/SPAN&gt;&lt;SPAN style="color: #458383;"&gt;app &lt;/SPAN&gt;= qlik.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;currApp&lt;/SPAN&gt;();&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #808080; font-style: italic;"&gt;//from 2.1: check if variable exists&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-style: italic;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;if &lt;/SPAN&gt;( &lt;SPAN style="color: #458383;"&gt;app&lt;/SPAN&gt;.&lt;SPAN style="color: #7a7a43;"&gt;variable&lt;/SPAN&gt;.&lt;SPAN style="color: #7a7a43;"&gt;getByName &lt;/SPAN&gt;) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #458383;"&gt;app&lt;/SPAN&gt;.&lt;SPAN style="color: #7a7a43;"&gt;variable&lt;/SPAN&gt;.&lt;SPAN style="color: #7a7a43;"&gt;getByName&lt;/SPAN&gt;( name ).&lt;SPAN style="color: #7a7a43;"&gt;then&lt;/SPAN&gt;( &lt;SPAN style="color: #000080; font-weight: bold;"&gt;function &lt;/SPAN&gt;() {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #808080; font-style: italic;"&gt;//variable already exist&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-style: italic;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}, &lt;SPAN style="color: #000080; font-weight: bold;"&gt;function &lt;/SPAN&gt;() {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #808080; font-style: italic;"&gt;//create variable&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-style: italic;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #458383;"&gt;app&lt;/SPAN&gt;.&lt;SPAN style="color: #7a7a43;"&gt;variable&lt;/SPAN&gt;.&lt;SPAN style="color: #7a7a43;"&gt;create&lt;/SPAN&gt;( name );&lt;/P&gt;
&lt;P&gt;&amp;nbsp; } );&lt;/P&gt;
&lt;P&gt;&amp;nbsp; } &lt;SPAN style="color: #000080; font-weight: bold;"&gt;else &lt;/SPAN&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #808080; font-style: italic;"&gt;//create variable - ignore errors&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-style: italic;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #458383;"&gt;app&lt;/SPAN&gt;.&lt;SPAN style="color: #7a7a43;"&gt;variable&lt;/SPAN&gt;.&lt;SPAN style="color: #7a7a43;"&gt;create&lt;/SPAN&gt;( name );&lt;/P&gt;
&lt;P&gt;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;This might help in this extension too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 06:25:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/CapVentis-Dimension-List-Cycle-Group-not-working/m-p/959836#M3508</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2015-10-15T06:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: CapVentis Dimension List (Cycle Group) not working</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/CapVentis-Dimension-List-Cycle-Group-not-working/m-p/959837#M3509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have forked this and made the fix. My updated version is available here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/erikwett/com.capventis.DimensionList" title="https://github.com/erikwett/com.capventis.DimensionList"&gt;erikwett/com.capventis.DimensionList · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems to solve the problem, though I have made only very basic testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 11:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/CapVentis-Dimension-List-Cycle-Group-not-working/m-p/959837#M3509</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2015-10-15T11:00:13Z</dc:date>
    </item>
  </channel>
</rss>

