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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
rgranado
Contributor III
Contributor III

Forward or backlash in the Context Variable

Hello,

 

I just installed Talend Studio 7.0 from 6.4.  My file paths with forward slashes worked fine in 6.4.  Now in 7.0 it does not work.  What is the proper way to use in the context variable?

 

When I hard code the paths (in tFileInputDelimieted) like so: "S:/Folder1/Folder2/", it works fine.  However, I don't want to hard code it; i would like to put in the context variable as these path is used in most of my jobs.

 

Let me know the proper syntax.  Thanks!

Labels (3)
2 Replies
manodwhb
Champion II
Champion II

@rgranado,you create a global context for the file path and call the context for the all the where are you going to use the same path.

 

File_name sting S:/Folder1/Folder2/

Anonymous
Not applicable

Hi,

 

    It should work fine without any changes. I tried the job in Talend 7 and its working fine. 

0683p000009Lzsf.png

 

 

If you are using \ symbol, you will have to use escape symbol in front of it. So it should be \\.

 

Warm Regards,

 

Nikhil Thampi