<?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: AD group application failing on QMC in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515027#M748714</link>
    <description>&lt;P&gt;I'm not absolutely sure but I think it means something like: 'a' precedes 'b' in Qlik and that SQL doesn't need an extra operator to perform a string-comparison and applies it automatically if the operands aren't numerical.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Fri, 30 Nov 2018 16:56:47 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2018-11-30T16:56:47Z</dc:date>
    <item>
      <title>group application failing</title>
      <link>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515002#M748708</link>
      <description />
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515002#M748708</guid>
      <dc:creator>qlikrambo1</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: AD group application failing on QMC</title>
      <link>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515003#M748709</link>
      <description>Can you share the script and if possible the log file?</description>
      <pubDate>Fri, 30 Nov 2018 15:55:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515003#M748709</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-30T15:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: AD group application failing on QMC</title>
      <link>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515024#M748713</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea? It seems weird to me that how is this working&lt;/P&gt;&lt;P&gt;Script&lt;/P&gt;&lt;PRE&gt;Name&amp;gt;'$(arg)'&lt;/PRE&gt;&lt;P&gt;Logfile example&lt;/P&gt;&lt;PRE&gt;and Name&amp;gt;'XYZ'&lt;/PRE&gt;&lt;P&gt;Do you know what might be going on here?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 16:43:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515024#M748713</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-30T16:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: AD group application failing on QMC</title>
      <link>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515027#M748714</link>
      <description>&lt;P&gt;I'm not absolutely sure but I think it means something like: 'a' precedes 'b' in Qlik and that SQL doesn't need an extra operator to perform a string-comparison and applies it automatically if the operands aren't numerical.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 16:56:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515027#M748714</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-11-30T16:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: AD group application failing on QMC</title>
      <link>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515029#M748715</link>
      <description>Make sense!! Do you have an idea about the error message? I am not sure what is wrong with it.</description>
      <pubDate>Fri, 30 Nov 2018 17:01:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515029#M748715</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-30T17:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: AD group application failing on QMC</title>
      <link>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515048#M748716</link>
      <description>No, I haven't. But I think I would TRACE the iterations and the variable-values to see if there is anything unexpected, for example if one of the loop conditions don't work or if and special chars are in the variables or something similar.</description>
      <pubDate>Fri, 30 Nov 2018 18:25:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515048#M748716</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-11-30T18:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: AD group application failing on QMC</title>
      <link>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515080#M748717</link>
      <description>&lt;P&gt;Nothing wrong with that loop code.&amp;nbsp; I wrote it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It exits the loop fine, the problem is in the subsequent LOAD:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;//************** Create a smaller list of AD groups related to BI applications&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;AD_Group_Tmp:&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;LOAD&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; *,&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; upper(SAMAccountName) as SAMACCOUNTNAME,&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; HexStrToDecStr(objectSID) as SID,&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; mid(subfield(DistinguishedName,',',-3),4) as OU1,...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"HexStrToDecStr" is an invalid function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 20:16:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515080#M748717</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-11-30T20:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: AD group application failing on QMC</title>
      <link>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515084#M748719</link>
      <description>&lt;P&gt;Thanks Rob,&amp;nbsp;&lt;/P&gt;&lt;P&gt;used this piece of VB code in Macro and calling the same from the script&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Development/Convert-SID-from-binary-to-string-format/td-p/271617" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Development/Convert-SID-from-binary-to-string-format/td-p/271617&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 20:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515084#M748719</guid>
      <dc:creator>qlikrambo1</dc:creator>
      <dc:date>2018-11-30T20:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: AD group application failing on QMC</title>
      <link>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515090#M748720</link>
      <description>&lt;P&gt;the same&amp;nbsp;&amp;nbsp;HexStrToDecStr(objectSID) as SID works using manual reload while it's failing while QMC reload&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 20:47:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515090#M748720</guid>
      <dc:creator>qlikrambo1</dc:creator>
      <dc:date>2018-11-30T20:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: AD group application failing on QMC</title>
      <link>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515101#M748721</link>
      <description>&lt;P&gt;I think that's a bug -- module functions not recognized -- in the server version of QV 12.30. It fails even when all the "allow macro execution on server" boxes are checked in the QMC.&amp;nbsp; But it works on Desktop. I recommend you contact QT support.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 21:44:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515101#M748721</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-11-30T21:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: AD group application failing on QMC</title>
      <link>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515103#M748722</link>
      <description>&lt;P&gt;Thanks Rob&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 21:46:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515103#M748722</guid>
      <dc:creator>qlikrambo1</dc:creator>
      <dc:date>2018-11-30T21:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: AD group application failing on QMC</title>
      <link>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515179#M748723</link>
      <description>&lt;P&gt;Please follow the suggestion from Rob and open by Qlik a request to find out if it's a new bug or if there are some new/changed settings within the config-files which prevent the macro-execution.&lt;/P&gt;&lt;P&gt;Beside this there are various alternatives directly within the Qlik script available.&lt;/P&gt;&lt;P&gt;One would be to use a parametrized variable like a user-defined function. It wouldn't be very elegant but quite similar to your used the vbs-function. I have already seen something similar and if I remember correctly it converted hex-timestamps into normal timestamps and I saw it at least twice but unfortunately, I couldn't find it yet. I think one was within a CAL manager tool, maybe this one: &lt;A href="https://community.qlik.com/t5/QlikView-License-User-Management/CAL-Document-Manager/td-p/522668" target="_blank"&gt;CAL-Document-Manager&lt;/A&gt;. Maybe Rob or others could remember it, too.&lt;/P&gt;&lt;P&gt;Another possibility would be to use an additionally load which looped through each char of your field-values. I mean something like:&lt;/P&gt;&lt;P&gt;Load *, 'here comes step one of the converting logic';&lt;BR /&gt;Load ID, mid(FIELD, iterno(), 1) as CHAR from Source while iterno() &amp;lt;= len(FIELD);&lt;/P&gt;&lt;P&gt;A concatenating of the single-conversions could be done within another preceeding-load with a peek-function or maybe with another aggregation load with concat(). After that you join/map it back to your source.&lt;/P&gt;&lt;P&gt;Probably even more easier might it be to use a mapsubstring() approach for it. Here are two examples which give you an idea what is meant:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Development/Passing-parameter-strings-that-contain-special-characters/m-p/1247167" target="_blank"&gt;Passing-parameter-strings-that-contain-special-characters&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Development/for-each-loop/m-p/19283" target="_blank"&gt;for-each-loop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Sat, 01 Dec 2018 11:47:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515179#M748723</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-12-01T11:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: AD group application failing on QMC</title>
      <link>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515226#M748724</link>
      <description>&lt;P&gt;The module bug aside, here is native Qlik script that will convert a hexadecimal SID to a string representation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Set ParseSubSA = if(len($1)&amp;gt;$2, '-'&amp;amp; num(num#(mid($1,$2+6,2) &amp;amp; mid($1,$2+4,2) &amp;amp; mid($1,$2+2,2) &amp;amp;mid($1,$2,2),'(HEX)') ,'0'),'');&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Users:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;UserName, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;UserDN, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;objectSID,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;'S' &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;amp;'-'&amp;amp; num(num#(mid(objectSID,1,2),'(HEX)'),'0') // Revision Level &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;amp;&lt;SPAN&gt;'-'&amp;amp;&lt;/SPAN&gt; num(num#(mid(objectSID,5,12),'(HEX)'),'0') // Authority&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;amp; $(ParseSubSA(objectSID,17))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;amp; $(ParseSubSA(objectSID,25))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;amp; $(ParseSubSA(objectSID,33))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;amp; $(ParseSubSA(objectSID,41))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;amp; $(ParseSubSA(objectSID,49))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;amp; $(ParseSubSA(objectSID,57))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;as StringSID&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FROM ...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The script assumes a max of 6 sub authority values, if you have more just duplicate the line and add 8 to the second parameter.&amp;nbsp; The ParseSA function will test the length of ObjectSID&amp;nbsp; so no harm in over-defining.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Dec 2018 07:21:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515226#M748724</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-12-02T07:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: AD group application failing on QMC</title>
      <link>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515258#M748725</link>
      <description>&lt;P&gt;Thanks Rob, Will try this.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Dec 2018 17:45:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-application-failing/m-p/1515258#M748725</guid>
      <dc:creator>qlikrambo1</dc:creator>
      <dc:date>2018-12-02T17:45:59Z</dc:date>
    </item>
  </channel>
</rss>

