Insert all the uploaded rows in external database
Hi,
I am uploading a excel file with 10 rows using file upload widget and after uploading I am giving the all data to insert into external database. But when I upload only the first row of the excel gets inserted. How can I insert all the rows of the uploaded excel directly after uploading?
Below is the query I am using for upload:
var params = {
path: path/* STRING */,
columnMappings: "org_name;org_desc" /* STRING */,
hasHeader: true /* BOOLEAN */,
longitudeField: undefined /* NUMBER */,
dateFormat: undefined /* STRING */,
fileRepository: "SystemRepository" /* THINGNAME */,
latitudeField: undefined /* NUMBER */,
fieldDelimiter: ","/* STRING */,
stringDelimiter: '"' /* STRING */,
dataShape: "Bobcat_UploadOrg_DS"/* DATASHAPENAME */
};
// result: INFOTABLE
var result = Resources["CSVParserFunctions"].ReadCSVFile(params);
Thanks in advance,
Shalini V.

