portal.serviceUrlΒΆ

This command generates a URL pointing to a service.

Arguments:

service (string)
Name of the service.
module (string)
Other module to reference to. Default is current module.
params (object)
Custom parameters to append to the url.

Example:

var url = execute('portal.serviceUrl', {
  service: 'myservice',
  params: {
    a: 1,
    b: 2
  }
});