Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
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
Author

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

View solution in original post

1 Reply
Not applicable
Author

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