Use the following java code in our java code palette and it will decrypt the password global variable.
import the package com.tibco.pe.plugin.PluginProperties in java code explicitly.
String VarName=PluginProperties.getProperty("tibco.clientVar.ProjectName/Connections/JDBC_Connections/Password");
System.out.println (" GV password "+ VarName);
Where <ProjectName>/Connections/JDBC_Connections/Password is Global variable which is password datatype.
The password will be printed in the System Console. If you want to print it as output, you have to tweak the code little bit.
Happy BW coding.
-Rajendra
2 comments:
Please help me to provide detail steps am not able to decrypting password and i am new to Tibco Developer
Please help me
Please help me to provide detail steps am not able to decrypting password and i am new to Tibco Developer
Please help me
Post a Comment