Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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

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

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