6.3.2. Code executed on server (VBS)

The VBS code is executed on the server and the location was defined in the custom_config.json. In the above example it is /plugins/vbb/wstest.vbs.

The VBS itself must contain a processRequest function. It receives a request and a response which is then returned to the JS code.

After the execution it returns to the JS plugins code from the previous chapter and the response can be used for further processing:

  this.vbsExampleAction = function (response) {
    console.log(response);
  };