Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi ,
Im new to Talend Integration .When i export template to csv file, im not able to open the csv file .Im using filename as context variables.There is no error while running the job,it shows rows in the diagram.This happens to only few templates.Could anyone help me to resolve this issue? I have added error pics for the reference.
look
data/export/xxxx
will work from current folder:
- when you build standalone job and run it from CMD/shell - it will Job folder + data/export/xxxx
- when you run it from studio - it will be under workspace
try to define path as full - starting from root /something/data/export/xxx
@Salesforcedevme ,can you open that file in some editor like notepad++ and see ?
Hi Manohar,
Thanks for the quick response.
Yes its opening in notepad++.
@Salesforcedevme ,are you able to verify the data,which you have extracted from salesforce?
Hi,
first of all - test same job with a much shorter path, like
c:\temp\out.csv
I could see only field name when i opened with notepad.When i rename the file ,it is showing all data.
Hi,
Yes it is working with shorter path. Im getting issue only when i used context file name
Thanks
@Salesforcedevme ,now just to hard code path as @vapukov said or you can use context variable also try to reduce the dynamic file name length and execute the job,how was it loading and are you able to open and see the data?
@Salesforcedevme ,you need to review the context path to limit length.
as you can see from picture - file in workspace, which is not acceptable at all
so, need to talk not about reduce context length but about using proper path (of course dynamic, but not what on picture)