Uploading and Reading a Text File in Visual Builder
Summary
Using File-picker, trying to upload the csv file, but data is not displayed in text-area.Content
I have followed the blog related to Uploading and Reading a Text File in Visual Builder i.e is(https://blogs.oracle.com/vbcs/uploading-and-reading-a-text-file-in-visual-builder-v2). Using this blog i had tried to upload the CSV file using file picker but data is not displaying in text-area.
i have used the JS code in main-start.
define([], function() {
'use strict';
var PageModule = function PageModule() {};
PageModule.prototype.parseUploadedFile = function(fileSet){
var readDataPromise = new Promise(function(resolve) {
if (fileSet.length > 0) {
console.log("fileSet length"+" "+fileSet.length);// fileSet length 1
0