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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

JobScript - howto create it with API and using repository

hi
is there a way to create jobscript using a Talend API and the repository objects that we define?
thanks,
Labels (2)
7 Replies
Anonymous
Not applicable
Author

Hi,
More information description will help us understand your requirement very well.
Best regards
Sabrina
Anonymous
Not applicable
Author

the jobscript looks like (is) JSON which is interpreted by the engine into a Talend Job and then as a JAVA class.
that is what i understand - let me know if i am wrong.
in a regular Talend project we collect meta-data of all sorts.
Question:
is there an API that i could use to create jobscript files using the project's metadata.
like:
<Java (ish)> .class

private JobScript myjs;
myjs.addComp( new JobScript.DBConn( "DBconnMetaDataName" , "DbConnNameInJob" );
myjs.addComp( new JobScript.DBInput( "DbConnNameInJob", "myDBinput", "MetaDataFromTbl_ABCZ" );
...
probably not - but it is a nice idea 0683p000009MACn.png (can i claim authorship?)
Anonymous
Not applicable
Author

Hi,
There is no such an API that you could use to create jobscript files using the project's metadata, but we have the function "import connection from csv" in Talend Enterprise subscription version. Hope it will be helpful for you.
see the screenshot
Best regards
Sabrina
0683p000009MDfd.png
Anonymous
Not applicable
Author

thanks,
but i have a project which requires me to load hundreds of files with different metadata.
so i was looking for a way to apply the same pattern
read file (thisDataset) -> load into SQL table (thisDataset)
but i guess we will have to take the regular route.
thanks,
Anonymous
Not applicable
Author

If you get any solution please post on forum, I am also looking for the same solution but Talend is not giving any information. If we get Code-generator, reference we can generate code for schema, and jobs.
Anonymous
Not applicable
Author

yep
i guess we will have to work a solution for this!
Anonymous
Not applicable
Author

another use asking for the same feature - information at least
as this feature is built into Talend
http://www.talendforge.org/forum/viewtopic.php?pid=104251