WebFOCUS Online Help > Managed Reporting Administrator > Customizing Dashboard > Customizing the Logoff Window

Customizing the Logoff Window

How to:

When users log off from a view in Dashboard, they are redirected to the Welcome Page by default. The logoff window can be customized to direct users to another page within Dashboard or a Web page outside of Dashboard. For example, when a user clicks the Logoff link in the Dashboard banner, you can have your company's Web site open. This functionality can be set for specific views using the View Builder or set globally for all views by editing a variable setting in the bidconfig.xml file.


Top of page

Procedure: How to Customize the Logoff Window for Specific Views

Administrators and Group Administrators have the ability to redirect users of a specific public or group view to a different URL upon logoff.

  1. Log on to the Dashboard View Builder and select a view.
  2. Click Edit Settings. The View Settings dialog box opens.
  3. Click the down arrow to the left of Redirects located in the lower left corner of the View Settings dialog box. The Redirects area of the dialog box appears.
  4. Click the down arrow to the left of Redirect Summary.
  5. Select context-redirect or x-redirect from the Redirect context type drop-down list, then type the desired URL in the Redirect URL field.
    • The context-redirect option is the default setting and is used to add additional segments to the default redirect URL to redirect a user to a different URL inside the application context upon logoff. The default URL redirects a user to the Welcome Page upon logoff, which is:
      http://webserver[:port]/ibi_apps

      For example, to redirect a user to the Group View login page for the aa_gbv group view, select the context-redirect option and set the Redirect URL field to:

      /bid/aa_gbv
    • The x-redirect option is used to redirect a user to a fully qualified URL outside the application upon logoff. For example, to redirect a user to the IBI Web site upon logoff, select the x-redirect option and set the Redirect URL field to:
      http://www.informationbuilders.com

    If the Redirect URL field is left blank, the user is redirected to the Welcome Page upon logoff by default.

  6. Click Save Settings, then click Close.

Top of page

Procedure: How to Customize the Logoff Window for All Views
  1. In the WebFOCUS76\worp\conf directory, open the bid-config.xml file in a text editor.
  2. Search for the string "logoff-success" and then comment out the lines immediately below it, beginning with "<context" and ending with "</context".

    Add "<!-- to" begin the comment and "-->" to end the comment, as shown below.

    <response-redirect request-context="logoff-success">
      <!--
      <context-redirect url="&REDIRECT;" hrefs-per-row="5">
        <href src="&MPV;" text="mpvHREFTextShort" context-asset="true" 
    localize-text="true"/>
        <href src="&GBV;" text="gbvHREFTextShort" context-asset="true" 
    localize-text="true"/>
        <href src="&LOGIN;" text="loginHREFTextShort" context-asset="true" 
    localize-text="true"/>
        <href src="&INDEX;" text="indexHREFTextShort" context-asset="true" 
    localize-text="true"/>
      </context-redirect>
      -->
    </response-redirect>
  3. Add the following line below the closing comment tag (-->):
    <x-redirect url="my_url"/>

    where:

    my_url

    Specifies the URL.

    Your code should now look similar to this:

    <response-redirect request-context="logoff-success">
      <!--
        <context-redirect url="&REDIRECT;" hrefs-per-row="5">
          <href src="&MPV;" text="mpvHREFTextShort" context-asset="true" 
    localize-text="true"/>
          <href src="&GBV;" text="gbvHREFTextShort" context-asset="true" 
    localize-text="true"/>
          <href src="&LOGIN;" text="loginHREFTextShort" context-
    asset="true" localize-text="true"/>
          <href src="&INDEX;" text="indexHREFTextShort" context-
    asset="true" localize-text="true"/>
        </context-redirect>
      -->
        <x-redirect url="http://www.informationbuilders.com"/>
    </response-redirect>

    Here the URL is set to http://www.informationbuilders.com so when a user selects the Logoff link in the banner, they are disconnected from Dashboard and the Information Builders Web site opens.

  4. Save and close the bid-config.xml file.

WebFOCUS