Denny chen
2022-05-10 2f3267bcc0e42e09b6f191cad6a0374f4a59b317
1
2
3
4
5
6
7
8
9
10
11
12
({
    CreateRecord : function(component, event, helper){
        var files = event.getSource().get("v.files");
        helper.readFile(component,helper,files[0]);
    },
    processFileContent : function(component,event,helper){
        helper.saveRecords(component,event,helper);
    },
    cancel : function(component,event,helper){
        component.set("v.showMain",true);
    }
})