Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
n999
Contributor II
Contributor II

projectName in Routes

Hi 

 

Quick Question.

 

Is the global variable "projectName" available in a cConfig in a route?

 

 

"contextStr" seems to be available with 

 

System.out.println(contextStr);

 

but I can't get the "projectName"

 

Thanks for any help

 

n

Labels (2)
1 Reply
n999
Contributor II
Contributor II
Author

Not sure if it is actually possible to get "projectName" direct.

 

However Talend have provided me a workaround as the package of a cConfig contains the projectName.

 

String talendProjectName = this.getClass().getPackage().getName().split("\\.")[0];

did this for me.