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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
saumyashah90
Specialist
Specialist

want userid name in welcome message while opening a .qvw document

when we give security (userid and password) in edit script,so I want to display that userid in welcome message "Welcome <userid>"..?

what i have done is

in settings->document properties ->triggers->an open->run macro->edit module

i wrote a code

sub msg

msgbox("Welcome friend")

end sub

but it will show only Welcome friend but not userid

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You don't have to use a macro. See attached file for an example.  You can use the OSUser() or QVUser() function to get the username.


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You don't have to use a macro. See attached file for an example.  You can use the OSUser() or QVUser() function to get the username.


talk is cheap, supply exceeds demand