<?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 API function getlayout in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/API-function-getlayout/m-p/212281#M66294</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which release of QV9 are you using? I have SR5 and it seems to work fine.&lt;/P&gt;&lt;P&gt;Another option is to use OSUser(). OSUser() is a QlikView function and I don't think it can be used directly in a macro. You could create a variable and give it the value OSUser(). Then you could reference the value of the variable using: ActiveDocument.Variables("var").GetContent.String.&lt;/P&gt;&lt;P&gt;You may also be able to use something like Evaluate(OSUser()) inside the macro, but I usually just create the variable as it isn't too much hassle.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Sep 2010 20:47:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-09-21T20:47:40Z</dc:date>
    <item>
      <title>API function getlayout</title>
      <link>https://community.qlik.com/t5/QlikView/API-function-getlayout/m-p/212280#M66293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In the section access I use NTNAME. I would like to get the value of this field in a macro using ActiveDocument.GetLayout.AuthenticatedUser.&lt;/P&gt;&lt;P&gt;Unfortunately it appears there is a bug in QV9, this function then does not work. Is there another way to use the NTNAME in a macro ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 20:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/API-function-getlayout/m-p/212280#M66293</guid>
      <dc:creator />
      <dc:date>2010-09-21T20:11:54Z</dc:date>
    </item>
    <item>
      <title>API function getlayout</title>
      <link>https://community.qlik.com/t5/QlikView/API-function-getlayout/m-p/212281#M66294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which release of QV9 are you using? I have SR5 and it seems to work fine.&lt;/P&gt;&lt;P&gt;Another option is to use OSUser(). OSUser() is a QlikView function and I don't think it can be used directly in a macro. You could create a variable and give it the value OSUser(). Then you could reference the value of the variable using: ActiveDocument.Variables("var").GetContent.String.&lt;/P&gt;&lt;P&gt;You may also be able to use something like Evaluate(OSUser()) inside the macro, but I usually just create the variable as it isn't too much hassle.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 20:47:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/API-function-getlayout/m-p/212281#M66294</guid>
      <dc:creator />
      <dc:date>2010-09-21T20:47:40Z</dc:date>
    </item>
    <item>
      <title>API function getlayout</title>
      <link>https://community.qlik.com/t5/QlikView/API-function-getlayout/m-p/212282#M66295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks it works by upgrading to QV9 SR5. I was using QV9 SR2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Sep 2010 12:13:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/API-function-getlayout/m-p/212282#M66295</guid>
      <dc:creator />
      <dc:date>2010-09-22T12:13:39Z</dc:date>
    </item>
  </channel>
</rss>

