
Anonymous
Not applicable
2014-08-01
04:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[resolved] Pass paremeters to the URI in tFileFetch reading from database table
Hi All
I am new to Talend and exploring it's features. I need to download the weather data for different locations from openweathermap. I am using tFileFetch for that. Since I need to iterate for different locations, I need to pass different location name to the URI dynamically reading from a table. How can I achieve that?
Currently I am able to do that for a single location and able to write to an excel
Regards
Chittaranjan
I am new to Talend and exploring it's features. I need to download the weather data for different locations from openweathermap. I am using tFileFetch for that. Since I need to iterate for different locations, I need to pass different location name to the URI dynamically reading from a table. How can I achieve that?
Currently I am able to do that for a single location and able to write to an excel
Regards
Chittaranjan
285 Views
1 Solution
Accepted Solutions

Anonymous
Not applicable
2014-08-01
06:04 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
check the KB article, it will show how to iterate over values and pass to the next component.
https://help.talend.com/search/all?query=tFlowToIterate&content-lang=en
https://help.talend.com/search/all?query=tFlowToIterate&content-lang=en
285 Views
5 Replies

Anonymous
Not applicable
2014-08-01
04:58 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Somehow I am not able to attach the screen shot. My URI is like following
" London&mode=xml&units=metric&cnt=7"
I want to pass different location name in place of London to the URI element reading from a database table
Please help
Regards
Chittaranjan
" London&mode=xml&units=metric&cnt=7"
I want to pass different location name in place of London to the URI element reading from a database table
Please help
Regards
Chittaranjan
285 Views

Anonymous
Not applicable
2014-08-01
05:26 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Chittaranjan,
Put your all location data in one file / tfixedflowinput component or a database table
https://help.talend.com/search/all?query=tIterateToFlow&content-lang=en
This will help you.
Thanks
Vaibhav
Put your all location data in one file / tfixedflowinput component or a database table
https://help.talend.com/search/all?query=tIterateToFlow&content-lang=en
This will help you.
Thanks
Vaibhav
285 Views

Anonymous
Not applicable
2014-08-01
05:57 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Vaibhav
But how to I pass what i read from tfixedflowinput to the URI element in my tFileFetch?
Regards
Chittaranjan
But how to I pass what i read from tfixedflowinput to the URI element in my tFileFetch?
Regards
Chittaranjan
285 Views

Anonymous
Not applicable
2014-08-01
05:59 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Set input value to context variable and then use that context variable inside URL
Vaibhav
Vaibhav
285 Views

Anonymous
Not applicable
2014-08-01
06:04 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
check the KB article, it will show how to iterate over values and pass to the next component.
https://help.talend.com/search/all?query=tFlowToIterate&content-lang=en
https://help.talend.com/search/all?query=tFlowToIterate&content-lang=en
286 Views
