Table of Contents

Class ImportFromFileActivityPreset

Namespace
Dynamicweb.DataIntegration.Integration.DataImport
Assembly
Dynamicweb.DataIntegration.dll
public abstract class ImportFromFileActivityPreset : BaseActivityPreset
Inheritance
ImportFromFileActivityPreset
Inherited Members

Properties

ConfigurationFile

public string ConfigurationFile { get; set; }

Property Value

string

ConfigurationJob

protected Job ConfigurationJob { get; }

Property Value

Job

DataImportPreset

public override bool DataImportPreset { get; }

Property Value

bool

DestinationColumnPefixes

protected virtual string[] DestinationColumnPefixes { get; }

Property Value

string[]

DestinationId

public string DestinationId { get; set; }

Property Value

string

DestinationProvider

public override ConfigurableAddIn DestinationProvider { get; set; }

Property Value

ConfigurableAddIn

DestinationProviderName

protected abstract string DestinationProviderName { get; }

Property Value

string

DestinationTableName

protected abstract string DestinationTableName { get; }

Property Value

string

KeyColumns

[AddInParameter("KeyColumns")]
[AddInLabel("Import keys")]
[AddInParameterEditor(typeof(SelectionBoxParameterEditor), "leftheader=Excluded;rightheader=Included;")]
[AddInParameterOrder(20)]
public string KeyColumns { get; set; }

Property Value

string

NeedsPreview

public override bool NeedsPreview { get; }

Property Value

bool

SelectedTable

[AddInParameter("SelectedTable")]
[AddInLabel("Select table")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "reloadOnChange=true;")]
[AddInParameterOrder(10)]
public string SelectedTable { get; set; }

Property Value

string

SourceFile

public string SourceFile { get; set; }

Property Value

string

SourceProvider

public override ConfigurableAddIn SourceProvider { get; set; }

Property Value

ConfigurableAddIn

Methods

GetDataImportMapping(Job)

protected virtual Mapping GetDataImportMapping(Job job)

Parameters

job Job

Returns

Mapping

GetParameterOptions(string)

public virtual IEnumerable<ParameterOption> GetParameterOptions(string parameterName)

Parameters

parameterName string

Returns

IEnumerable<ParameterOption>

GetPreviewListData(out List<Dictionary<string, object>>, out IEnumerable<string>, out string)

public override bool GetPreviewListData(out List<Dictionary<string, object>> listData, out IEnumerable<string> columns, out string error)

Parameters

listData List<Dictionary<string, object>>
columns IEnumerable<string>
error string

Returns

bool

Install(out string)

public override bool Install(out string errors)

Parameters

errors string

Returns

bool

LoadSettings()

public override void LoadSettings()

PrepareMapping(Mapping)

protected virtual void PrepareMapping(Mapping mapping)

Parameters

mapping Mapping

ValidateSettings()

public override string ValidateSettings()

Returns

string
To top