Redirect the User to an External URL

Redirection is a feature that allows the user to be seamlessly taken to an external URL as the final step of an interview. To add a redirect on to a screen:

  1. In the screen list, select the screen.
  2. In the screen layout view, select the Next or Submit button.
  3. Select the current button type on the command bar.
  4. In the drop-down window select:
  5. In the Redirection Options dialog:
    • Enter the Redirect URL. Note that:
      • Substitutions are supported in the URL text. This enables you to use the value of a non-Boolean global attribute as part of the URL. For example, you could use a redirect URL of http://www.myhomepage.com/%home_country%/ where the attribute 'the applicant's home country' has an attribute name of 'home_country'. If, during the interview, the interview user selects 'Argentina' as the home county, the redirect URL would point to http://www.myhomepage.com/Argentina/. For more information on text substitution, see Show Attribute Values On Screens. A redirection containing a substitution will be URL encoded.
      • URLs must either start with a protocol (for example, http://) or with a substitution (for example, %targetURL%). Where a redirection starts with "%" it is presumed to already be encoded and is just output as is.
    • In the Redirect Target drop-down, select the option that defines the browser behavior when the interview is redirected. (These redirection targets only apply to Latest Version interviews embedded in iframes.)
      • Select Self if you would like the redirected URL to be loaded inside the current frame. That is, just the Intelligent Advisor interview is replaced on the page with the redirected website. This is the default behavior.
      • Select Parent if you want to replace both the embedded Intelligent Advisor interview and the frame that embeds it. This will ensure the other frames on the page are unaffected.
      • Select Top if you want to replace everything on the current page. This includes the embedded interview and all other content surround it.
  6. Click OK. Note that:
    • If Redirect has been chosen as the desired behavior, a Next button is shown on the screen.
    • If Submit and Redirect has been chosen as the desired behavior, a Submit button is shown on the screen. The text of this button should be changed in order to reflect what will happen when the user clicks it.
    • Screens with a redirect are shown in the screens list with a blue arrow icon.
    • If the interview is embedded in another application using a div, then the redirect needs to be handled in the onNavigate function.

Note: If the checkpoint is created when the user clicks a redirect or submit and redirect button, the check point will resume on the screen the button was clicked on.