Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
MEJ
Contributor III
Contributor III

Hide macro buttons for Plugin users

Is it possible to hide buttons (macros that launch Excel files mainly) that I as a developer use to access certain databases and mapping tables (mainly Excel files) from users using Qlikview via the plugin?

2 Solutions

Accepted Solutions
m_woolf
Master II
Master II

In Properties|Layout, set show conditional to:

=upper(osuser()) = 'Your User Id'

The object will be visible only to you.

View solution in original post

m_woolf
Master II
Master II

Glad to help.

If any of the replies solved your problem, please mark as Correct.

View solution in original post

10 Replies
m_woolf
Master II
Master II

In Properties|Layout, set show conditional to:

=upper(osuser()) = 'Your User Id'

The object will be visible only to you.

MEJ
Contributor III
Contributor III
Author

Thanks for you reply. Where do I find my user ID? Is it the User name (didn't work), or possibly License key (didn't work either)? All it did was to hide it from myself as well.

I use the developer license (v11), but the Qlikview users are using a plugin and accessing via the intranet. Therefore I don't want people to mess around with my macro buttons that are making my life a little easier.

/Mathias

m_woolf
Master II
Master II

Put =upper(osuser()) in a text box to see your userid

MEJ
Contributor III
Contributor III
Author

Great! A big help!!

Thanks

MEJ
Contributor III
Contributor III
Author

If I would like to add another user more than myself, can I just code it like this:

=upper(osuser()) = 'Your User Id'

OR 

=upper(osuser()) = 'Other User Id'

 

Thanks

m_woolf
Master II
Master II

You would have to lose the second "=".

MEJ
Contributor III
Contributor III
Author

Thanks.

However, it didn't solve my problem, as other users logging into Qlikview via the plugin, seem to have another USER ID than the one I am using. 

Even when I login to the web application, I cannot see the objects that should only be visible to me (I normally work in the Enterprise/developer version). 

Could it be that the user ID is different than my normal one when using the web version?

Is there a way to find out what the USER name would be when logging in through the web application?

Thanks

m_woolf
Master II
Master II

You can put a text object in your app with: =upper(osuser()) as the content.

That will display the userid.

We have never seen a difference between the user ids in the client or in a published app in our environment.

MEJ
Contributor III
Contributor III
Author

Great. Now I found out how the setup worked.

Thanks for your help.👍