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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Getting doubled quote String value in code even if not given in implicit context

I am trying to add implicit context in my talend project as shown in this tutorial

https://www.talend.com/blog/2019/02/19/best-practices-for-using-context-variables-with-talend-part-2...

 

0683p000009M7XX.png

 

In schema if i add "schema_name" it is working fine but if i add routines.implicit context in code it shows like

/"routines. it means that it is considering it as string even if quotes are not given as shown below

 

0683p000009M7lZ.png

 

I tried adding "+ and " "+ before and after but it is not working with any combination what should i do?

Labels (1)
  • v7.x

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I suppose it is bug in talend studio i just added """+XXXXXXXXXXXXXXXXXX+""" in schema and it worked as shown below

"""+routines.ImplicitContextUtils.getImplicitContextParameterValue("TalendContextSchema",rootPid,pid)+"""

 

 

View solution in original post

1 Reply
Anonymous
Not applicable
Author

I suppose it is bug in talend studio i just added """+XXXXXXXXXXXXXXXXXX+""" in schema and it worked as shown below

"""+routines.ImplicitContextUtils.getImplicitContextParameterValue("TalendContextSchema",rootPid,pid)+"""