Uploading and Reading a Text File in Visual Builder
Summary
I have gone through the blog u have provided,but I'm not returning the content in the text area.Content
I have build the function as below and invoking this function by using file picker actionListner.
Actually My requirement is to get the encrypted string, I have gone through this blog .
https://blogs.oracle.com/groundside/uploading-and-reading-a-text-file-in-visual-builder
But I'm unable to get the text.
I tried the below code snippet
PageModule.prototype.getFile = function(event) {
var file = null;
var binaryString = null;
var base64String = null;
var filesArr = event.detail.files;
var reader = new FileReader();
for (var i = 0; i < filesArr.length; i++) {
1