<?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: Function call from Load Script fails when relaoded using command line in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Function-call-from-Load-Script-fails-when-relaoded-using-command/m-p/162129#M35741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The QVW which tries to load the data from LDAP loads only the partial data frequently. We are unable to find the root cause of the issue as the QVW doesn't fails but it loads only the partial data.Can someone please help us to identify the root cause of the issue. It has been happening from quite a long time but we didn't succeed in finding the root cause of the issue. Hope someone can help us for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;qvforum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jul 2013 16:36:58 GMT</pubDate>
    <dc:creator>qlikviewforum</dc:creator>
    <dc:date>2013-07-22T16:36:58Z</dc:date>
    <item>
      <title>Function call from Load Script fails when relaoded using command line</title>
      <link>https://community.qlik.com/t5/QlikView/Function-call-from-Load-Script-fails-when-relaoded-using-command/m-p/162126#M35738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am passing a string to a macro function from the Qlikview load script. The load executes correctly when run manually in the developer client, but if fails when I reload using either publisher or the command line.&lt;/P&gt;&lt;P&gt;Here's the function that I'm calling...&lt;/P&gt;&lt;P&gt;Function GroupMembers(DN)&lt;BR /&gt; Set objItem = GetObject("LDAP://" &amp;amp; DN)&lt;BR /&gt; strmember = objItem.GetEx("member")&lt;BR /&gt; ret = ""&lt;BR /&gt; For Each Item in strmember&lt;BR /&gt; ret = ret &amp;amp; Item &amp;amp; ";"&lt;BR /&gt; Next&lt;BR /&gt; GroupMembers = Left(ret, Len(ret)-1) ' Drop trailing semicolon&lt;BR /&gt;End Function&lt;/P&gt;&lt;P&gt;and the load script snippet, that calls it...&lt;/P&gt;&lt;P&gt;GroupMembers:&lt;BR /&gt;LOAD&lt;BR /&gt; GroupDN,&lt;BR /&gt; subfield(GroupMembers(GroupDN), ';') as UserDN&lt;BR /&gt;RESIDENT GroupTable&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Should I be able to execute this function as part of the load script, or is this a limitaion of Qlikview?&lt;/P&gt;&lt;P&gt;Pertinent Facts: Windows Server 2008, 32GB RAM, QVS v9 SR6, QV.exe v9 SR6&lt;/P&gt;&lt;P&gt;Any suggestions would be appreciated,&lt;BR /&gt;B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jan 2011 21:23:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-call-from-Load-Script-fails-when-relaoded-using-command/m-p/162126#M35738</guid>
      <dc:creator>bnichol</dc:creator>
      <dc:date>2011-01-10T21:23:15Z</dc:date>
    </item>
    <item>
      <title>Function call from Load Script fails when relaoded using command line</title>
      <link>https://community.qlik.com/t5/QlikView/Function-call-from-Load-Script-fails-when-relaoded-using-command/m-p/162127#M35739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check Windows security. It might be running under a different User ID when it's running under Publisher or from the Command Line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jan 2011 21:36:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-call-from-Load-Script-fails-when-relaoded-using-command/m-p/162127#M35739</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2011-01-10T21:36:35Z</dc:date>
    </item>
    <item>
      <title>Function call from Load Script fails when relaoded using command line</title>
      <link>https://community.qlik.com/t5/QlikView/Function-call-from-Load-Script-fails-when-relaoded-using-command/m-p/162128#M35740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As identified in &lt;A href="http://community.qlik.com/forums/p/29431/124146.aspx"&gt;http://community.qlik.com/forums/p/29431/124146.aspx&lt;/A&gt; ... "Publisher ignores all macro calls, and it always has been this way".&lt;BR /&gt;I was able to run the load script successfully, once I added the /NoSecurity switch to the command line entry "c:\Program Files\QlikView\qv.exe" /nosecurity /r "FileName.qvw"&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jan 2011 22:22:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-call-from-Load-Script-fails-when-relaoded-using-command/m-p/162128#M35740</guid>
      <dc:creator>bnichol</dc:creator>
      <dc:date>2011-01-10T22:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Function call from Load Script fails when relaoded using command line</title>
      <link>https://community.qlik.com/t5/QlikView/Function-call-from-Load-Script-fails-when-relaoded-using-command/m-p/162129#M35741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The QVW which tries to load the data from LDAP loads only the partial data frequently. We are unable to find the root cause of the issue as the QVW doesn't fails but it loads only the partial data.Can someone please help us to identify the root cause of the issue. It has been happening from quite a long time but we didn't succeed in finding the root cause of the issue. Hope someone can help us for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;qvforum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2013 16:36:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-call-from-Load-Script-fails-when-relaoded-using-command/m-p/162129#M35741</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2013-07-22T16:36:58Z</dc:date>
    </item>
  </channel>
</rss>

