Untitled
unknown
plain_text
2 years ago
1.0 kB
2
Indexable
importNodesArray() { //let dataArray = JSON.parse(JSON.stringify(this.cSVJSONUtilityLib.convertRowCSVToJS(this.fileContentString)).replace(/"nodeDescription"/g, 'nodeDescription')); let dataArray = JSON.parse(this.cSVJSONUtilityLib.convertRowCSVToJS(this.fileContentString ,true)); console.log(dataArray); this.appService.masterWrapperAdmin( { params: { 'allparameters': dataArray, 'allconfig': this.commonUtilitiesLib.copy({ 'verbtype': 'post', 'apiname': ['ADMINUSERNODENAMES;'], 'responseformat': { 'format': 'rest' } }) } } ).subscribe((success: any) => { this.toastr.success('Import Successful'); this.router.navigate(['/admin', 'list', 'all']); }); } }
Editor is loading...