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: 
Santi2
Contributor III
Contributor III

Identify password type in a context variable

Hi,

I'm trying to identify when a context variable type is a password in a tJavaRow but I don't know how to do it. Is there a way to do it?

 

Thank you

Labels (2)
11 Replies
Santi2
Contributor III
Contributor III
Author

Of course, I used a tJavaFlex and then a tFilterRow in order to filter the null values. I don't know which is the minor version to compile the code but it must be greater than v6.1 because the context method "getContextType(String)" doesn't exist.

 

Here it goes:

0683p000009M0JV.png

Anonymous
Not applicable

It appears that there has been upgrade to Context variables in v7. Sorry I said it couldn't be done. However I was using v621 and looking at the code, it couldn't be done with that version. The getContextType(String) makes it possible. A useful bit of code 🙂