sjoerd.jump Posted May 22, 2013 Share Posted May 22, 2013 Hello,I have a question regarding XML import in Jaspersoft ETL.I receive a couple of xml files on a daily basis witch i import, export and report on. But for every file i create a tFileInputXML and a corresponding tPostgresqlOutput. So if i want to create a job for n files, i have create n subjobs. Is there a way to "loop" through all files in a specific folder? Link to comment Share on other sites More sharing options...
marianol Posted May 22, 2013 Share Posted May 22, 2013 tFileList is the component that you need to use for that. See the sample in the screenshot below. Under File -> Management you will find all sort of components that allow you to iterate and manage files in the filesystem. Link to comment Share on other sites More sharing options...
sjoerd.jump Posted May 23, 2013 Author Share Posted May 23, 2013 Hi Maria! Thanks for you post. This is indeed the solution! I must add that the spelling for the streamname is case sensitive. globalMap instead of globalmap or else it will give the following error: "Exception in thread "main" java.lang.Error: Unresolved compilation problem: globalmap cannot be resolved" Thanks again! Sjoerd Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now