TCA.vtcPopMultipleCells

Pops the first fields from specified columns. Returned as a JavaScript object.

Equivalent method in VuGen VTS: lrvtc_retrieve_messages1

TCA.vtcPopMultipleCells(colNames, vtsName);

Arguments

Name Description

colNames

(string) The names of the columns.
vtsName

(Optional)

(string) The alias of the VTS server.

Return value

A promise that is fulfilled with an object upon success, which contains the first field from the specified columns. The properties of the object are set to the column names.

If the column is empty or does not exist, the value is null. For example, {col1:"larry",col2:""}.

Example

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