$k. ImportTask

new $k.ImportTask()

Methods

(static) from(taskElement) → {$k.ImportTask}

Returns the ImportTask defined by the element

Parameters:
NameTypeDescription
taskElement$k.SemanticElement

The ImportTask element

Since
  • 6.1.0
Returns:
Type: 
$k.ImportTask

insertJob()

Set the mapping to be used for the import

Since
  • 6.1.0

runImport()

Run the import

Since
  • 6.1.0
Throws:

semanticElement() → {$k.SemanticElement|undefined}

Get the task semantic element

Since
  • 6.1.0
Returns:
Type: 
$k.SemanticElement | undefined

setImportData(data)

Set the data to be imported

Parameters:
NameTypeDescription
data$k.NetEntity

Data to be imported

Since
  • 6.1.0

setMapping(mapping)

Set the mapping to be used for the import

Parameters:
NameTypeDescription
mapping$k.AttributeType | string

mapping or mapping registry key

Since
  • 6.1.0