Register or Login to Your Account
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.
Give me synario related these task if you worked on these thing .....
It will be great helpful
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).