Setting up the Switch Site feature

Use these steps to include a Site option on a form that does not reference an _all table:

  1. Place a drop-down list of configurations at the top of the form.
  2. Place a Switch hyperlink to the right of the list. When the user selects a different configuration from the list and clicks the link, form a URL to access the current form from the selected configuration. The URL uses this format:

    http://webServer/wswebclient/mobile.aspx?form=formName&page=formonly&Config=config&user=userName&filter=filter

    where:

    • webServer is the name of the web server, extracted using the BASEURL keyword.
    • formName is the name of the form to be opened.

      This must be the form name, and not the form caption.  

    • config is the name of the configuration required to access the form.
    • userName is the login user ID of the user logging in.
    • filter is the current filter, if any.
    Note: This assumes that every site uses the same web client installed on the same web server.

    For more information about web client URLs and URL parameters, see Creating URLs to Access the Web Clients.

  3. Use the Switch hyperlink to launch the new page.
    Note: The Site field and Switch link are visible in FormOnly mode, but not in the standard client.

When the user clicks the link to switch to another site, the logon window is displayed. The user name and configuration is defaulted from the current session. If you do not want to require users to re-enter the password each time they switch sites, you can set up mobile users to use the Workstation Login.

Note: The Switch Site feature works only when users set their browsers to allow pop-ups. When you select Switch, you are logged out of the current session and a pop-up window opens with the new login information.