The controller to use in building the URL
The action to use in building the URL
Optional
containerPath: stringThe container path to use (defaults to the current container)
Optional
parameters: Record<string, any>An object with properties corresponding to GET parameters to append to the URL. Parameters will be encoded automatically. Parameter values that are arrays will be appended as multiple parameters with the same name. (Defaults to no parameters)
URL constructed from the current container and context path, plus the specified controller and action.
Builds a URL from a controller and an action. Uses the current container and context path.
Examples