IUiEtlObject.EtlTask

Syntax

EtlTask: IEtlTask;

Description

The EtlTask property determines the repository ETL task, to which it is required to get access.

Example

Executing the example requires a form with the UiEtlObject component named UiEtlObject1, EtlBox named EtlBox1 and EtlObjectPanelBox named EtlObjectPanelBox1. The ETL task with the ETLTask identifier is created in repository. Add links to the Etl, Metabase system assemblies. The example is a handler of the OnCreate event for the form.

Sub ETLBOX_SAMPLEFormOnCreate(Sender: Object; Args: IEventArgs);
Var
    MB: IMetabase;
Begin
    MB := MetabaseClass.Active;
    UiEtlObject1.EtlTask := MB.ItemById(
"ETLTask").Bind As IEtlTask;
    UiEtlObject1.Active := 
True;
    EtlBox1.Source := UiEtlObject1 
As IEtlSource;
    EtlObjectPanelBox1.EtlBox := EtlBox1;
    EtlObjectPanelBox1.ShowOthers := 
False;
    EtlObjectPanelBox1.ShowMaps := 
False;
End Sub ETLBOX_SAMPLEFormOnCreate;

All components that are used to work with ETL task will be set up and connected at the form startup:

See also:

IUiEtlObject