Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
base64 deocding
Enzifer
Hello
i have a report parameter which represents a password which is coming over a url base64 encoded. Now i want to decode the password in plain text.
The simple problem is that I don't know to call the report parameter in javascript. I'm on the point "validate"-point of the report parameter in the script view. Then i have to do some things like
this.??? = "test pwd";
what should I do when for instance my parameter should have the value or string "test pwd"?
This is only a very basic thing the base64 things comes later.
Find more posts tagged with
Comments
mwilliams
Hi Enzifer,
In the "validate" script, if you return true, the report runs. If you return false, the report doesn't run and an exception is thrown. To access the value of the parameter passed by the user in the script, all you have to do is use the following:
params["ParameterName"].value
Hope this helps.