Share this page

# TCA.getParam

Returns the value of the specified parameter.

Note: You can also use the VuGen toolbar to input parameters into the script.

    TCA.getParam(name);

## Arguments

name. (string) Name of the parameter.

## Return value

A promise that is fulfilled with a string. If the parameter exists, it returns its value. If the parameter does not exist, it returns an empty string.

## Example

Copy code

    TCA.getParam(“myParam”).then(function(result){
        TCA.done(result);
    }).catch(function (error) {
    TCA.doneWithError(error);
    });

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: