TC.vtcCreateColumn

Creates a column.

If a column of the same name already exists, the function does nothing.

Equivalent method in VuGen: lrvtc_create_column

TC.vtcCreateColumn(colName, vtsName);

Arguments

Name Description

colName

(string) The name of the column.
vtsName

(Optional)

(string) The alias of the VTS server.

Return value

A promise that is fulfilled with 0 if completed successfully.

Example

Copy code
(async ()=>{
    let ret = await TC.vtcCreateColumn('MyColumn4'); 
})();