<?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 How to pass section access User ID through OpenDoc/OpenDocEx in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-pass-section-access-User-ID-through-OpenDoc-OpenDocEx/m-p/652608#M675716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using VBA to open/access a .qvw file, but while opening the report through OpenDoc/OpenDocEx method it asks for User ID which is a part of section access implemented in the application. I am new to Qlikview and do not understand section access completely but I need to pass the value in the pop up displayed through a parameter in the script. Is it possible?&lt;/P&gt;&lt;P&gt;Below is the code sample in VBA&lt;/P&gt;&lt;P&gt;Dim QVApp As New QlikView.Application&lt;/P&gt;&lt;P&gt;Dim QVDoc As QlikView.Document&lt;/P&gt;&lt;P&gt;Dim strFilename As String&lt;/P&gt;&lt;P&gt;strFilename = "D:\QVReport.qvw"&lt;/P&gt;&lt;P&gt;Set QVDoc = QVApp.OpenDocEx(strFilename)&lt;/P&gt;&lt;P&gt;MsgBox QVDoc.NoOfSheets&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2014 15:03:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-10T15:03:00Z</dc:date>
    <item>
      <title>How to pass section access User ID through OpenDoc/OpenDocEx</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-section-access-User-ID-through-OpenDoc-OpenDocEx/m-p/652608#M675716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using VBA to open/access a .qvw file, but while opening the report through OpenDoc/OpenDocEx method it asks for User ID which is a part of section access implemented in the application. I am new to Qlikview and do not understand section access completely but I need to pass the value in the pop up displayed through a parameter in the script. Is it possible?&lt;/P&gt;&lt;P&gt;Below is the code sample in VBA&lt;/P&gt;&lt;P&gt;Dim QVApp As New QlikView.Application&lt;/P&gt;&lt;P&gt;Dim QVDoc As QlikView.Document&lt;/P&gt;&lt;P&gt;Dim strFilename As String&lt;/P&gt;&lt;P&gt;strFilename = "D:\QVReport.qvw"&lt;/P&gt;&lt;P&gt;Set QVDoc = QVApp.OpenDocEx(strFilename)&lt;/P&gt;&lt;P&gt;MsgBox QVDoc.NoOfSheets&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 15:03:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-section-access-User-ID-through-OpenDoc-OpenDocEx/m-p/652608#M675716</guid>
      <dc:creator />
      <dc:date>2014-07-10T15:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass section access User ID through OpenDoc/OpenDocEx</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pass-section-access-User-ID-through-OpenDoc-OpenDocEx/m-p/652609#M675717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got the solution. There is a parameter called Username where we can pass the section access username.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 17:48:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-pass-section-access-User-ID-through-OpenDoc-OpenDocEx/m-p/652609#M675717</guid>
      <dc:creator />
      <dc:date>2014-07-10T17:48:26Z</dc:date>
    </item>
  </channel>
</rss>

