TCA.vtcCreateColumn

Creates a column.

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

Equivalent method in VuGen VTS: lrvtc_create_column

TCA.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. Upon failure, an exception is thrown.

Example

Copy code
TCA.vtcCreateColumn("MyColumn","MyVTS").then(function(result){
  TCA.done(result);
}).catch(function (error) {
  TCA.doneWithError(error);
});