Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

Not applicable

How to pass section access User ID through OpenDoc/OpenDocEx

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?

Below is the code sample in VBA

Dim QVApp As New QlikView.Application

Dim QVDoc As QlikView.Document

Dim strFilename As String

strFilename = "D:\QVReport.qvw"

Set QVDoc = QVApp.OpenDocEx(strFilename)

MsgBox QVDoc.NoOfSheets

1 Solution

Accepted Solutions
Not applicable

Re: How to pass section access User ID through OpenDoc/OpenDocEx

I got the solution. There is a parameter called Username where we can pass the section access username.

1 Reply
Not applicable

Re: How to pass section access User ID through OpenDoc/OpenDocEx

I got the solution. There is a parameter called Username where we can pass the section access username.