For processing CSV file, first u have to create flatfile schema and dictionary,
Then build the code using with following services.
1.pub.file.getFile(output can be any one of these bytes, stream, string(prefer string)
2.pub.flatFile:convertToValues(map the getfile output(string) to ffdata, and mention the ffschema)
then create the doc reference for ffvalues(which is the output of the pub.flatFile:convertToValues service), and map the ffvalues to refrence doc.
3.create the table & Insert Adapter service on that table.(table fiels are same as ffvalues fields).
Leave a Reply
Guest User
Not sure what solution is right for you?
Choose the right one for you.
Get the help of the experts and find a solution that best suits your needs.
ribinadia
Hi All,
I am receiving https request with .CSV file then process these file placed in to a database.
Can any one help me how can i do these task.......
Note : We are not using TN console.
Version 8.0.1..
Give me synario related these task if you worked on these thing .....
It will be great helpful
HVardhan
Hi,
For processing CSV file, first u have to create flatfile schema and dictionary,
Then build the code using with following services.
1.pub.file.getFile(output can be any one of these bytes, stream, string(prefer string)
2.pub.flatFile:convertToValues(map the getfile output(string) to ffdata, and mention the ffschema)
then create the doc reference for ffvalues(which is the output of the pub.flatFile:convertToValues service), and map the ffvalues to refrence doc.
3.create the table & Insert Adapter service on that table.(table fiels are same as ffvalues fields).