How I can set file mask for tFilelist component
in Talend that it recognize date automatically and it will download only data
for desired date?
There are two ways of
doing it.
1. Create context variable and use this variable
in file mask.
2. Directly use TalendDate.getDate() or any other
date function in file mask.
See both of them in
component
1st Menthod,
·
Create context
variable named with dateFilter as string type.
·
Assign value to context.dateFilter=TalendDate.getDate("yyyy-MM-dd");
·
Suppose you have file
name as "ABC_2015-06-19.txt" then
·
In tFileList file mask
use this variable as follows.
"ABC_"+context.dateFilter+".*"
2nd Menthod
·
In tFileList file mask
use date function as follows.
"ABC_"+TalendDate.getDate("yyyy-MM-dd")+".*"
Above are the two best
way, you can make changes in file mask per your file names.
Really very happy to say, your post is very interesting to read. I never stop myself to say something about it. You’re doing a great job. Keep it up.
ReplyDeletemobile phone repair in Auburn Hills
iphone repair in Auburn Hills
cell phone repair in Auburn Hills
tablet repair in Auburn Hills
ipad repair in Auburn Hills
mobile phone repair Auburn Hills
iphone repair Auburn Hills
cell phone repair Auburn Hills
phone repair Auburn Hills
tablet repair Auburn Hills
cheap hidden cameras
ismartalarm camera
dymo label maker
Waterproof Action Camera
Coleman full size air mattress
womens cotton long johns
APPLE WATCH SERIES 3 INFORMATION
Winter Cycling Jackets For Men
Good blog post. I want to thank you for interesting and helpful information and I like your point of view. Thank you!- I love to read this type of material Good and attractive information I take from it.. Thank you for posting such a good article.
ReplyDeletemobile phone repair in Auburn Hills
iphone repair in Auburn Hills
cell phone repair in Auburn Hills
tablet repair in Auburn Hills
ipad repair in Auburn Hills
mobile phone repair Auburn Hills
iphone repair Auburn Hills
cell phone repair Auburn Hills
phone repair Auburn Hills
tablet repair Auburn Hills
cheap hidden cameras
ismartalarm camera
dymo label maker
Waterproof Action Camera
Coleman full size air mattress
womens cotton long johns
APPLE WATCH SERIES 3 INFORMATION
Winter Cycling Jackets For Men