DataImportService.launchImport

Syntax

launchImport (cubeImport, settings)

Parameters

cubeImport. Import model.

settings. JSON object containing settings.

Description

The launchImport method starts data import with specified settings.

Comments

This method is fired on clicking the Done button in the last page of the data import wizard.

Example

To execute the example, the page must contain ImportDataWizard component named importDataWizard and a service for working with data import named dataImportService (see Example of creating the ImportDataWizard component). Start the import process using the settings selected on wizard's pages:

cubeImp = importDataWizard.getCubeImport()

dataImportService.launchImport(cubeImp, importDataWizard.getWizardSettings())

See also:

DataImportService