Denny Chen
2022-02-28 6947068a02499b9d1022f9efca5bcf1bdd3f1c70
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);
    }
})