Is the global variable "projectName" available in a cConfig in a route?
"contextStr" seems to be available with
but I can't get the "projectName"
Thanks for any help
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("\\.");
did this for me.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Read about some useful Context Variable ideas