Stops the current rendering and redirects the client to the specified location.
This method is AIM-aware: the location will be passed to Active Integrity Management.

Syntax

Smartsite SXML CopyCode image Copy Code
response.redirect(locator location)
response.redirect(locator location, boolean endResponse)
response.redirect(locator location, boolean endResponse, enum aim)
response.redirect(locator location, boolean endResponse, enum aim, enum aimOptions)

Parameters

Name Data Type Description
location Locator The location.
endResponse Boolean If set to true, stops the current rendering.
aim Enum The AIM registration type.
Enum values:
  • Off
    No AIM scan.
  • Normal
    Automatically determine the source, meaning that relations are added to the actual rendered page being rendered.
  • Autonomous
    Forces Autonomous registration of the relation as a relation of the source item itself, even if the source is a Translation or a RenderTemplate.
aimOptions Enum The aim relation options. Default: automatically determined.
Enum values:
  • Auto
    Automatic determine AIM link type.
  • Softlink
    Soft link.
  • Hardlink
    Hard link.

Return Value

None.

Expand image Remarks

Expand image AIM

Expand image Example

SXML