Home Search

DriveWorks Pro 22
How To: Implement an Auto-Login in DriveWorks Live (KB13103012)

Send Feedback

How To: Implement an Auto-Login in DriveWorks Live

This topic applies to the Web and Application Themes only.

When using the Integration Theme please refer to the topic Integration Theme Live for more information.

Anyone visiting your DriveWorks Live site will be directed to the Login page by default.

This is to ensure only visitors with credentials that have been administered through DriveWorks Security Settings have access to start a specification.

The Login page can be bypassed by logging all visitors into the site with a generic username through the Integration module.

How To

To use the Auto-Login feature you will require the Integration page to be loaded when the web address is typed, rather than the Login page. You then need to configure the Integration page to login with a specific Username and Password. This can be achieved by following the steps below.

  1. With DriveWorks Live started, browse to the URL that hosts the group and log in as an Administrator.
  2. Once logged in, add /Integration onto the end of the web address.
    If the Integration page has previously been implemented with the Auto Log In option checked the following should be added to the end of the URL:

    /Integration?mode=edit

  3. Click the (Switch) link to enter edit mode on the Integration page.
  4. Click Edit on the Integration module in the middle of your screen.
  5. Enter the Username and Password of the User that you want to auto log in, and check the Auto Log In option.
  6. Click Save on the Edit Module dialog.
  7. Click Save Changes at the top of the Integration page.

DriveWorks is set up to automatically redirect the user to the Login page (/Login). To change this you need to copy and edit the Navigation.xml. This can be done by following the steps below:

    Locate and copy the Navigation.xml file as instructed in the topic Customize the Web Theme - Advanced (refer to the table under the heading System Files and Custom Files).
  1. Right click the copied file and click edit (Use Notepad unless you have a preferred editor)
  2. Change the top line of the Navigation.xml file to the following:

    from

    <Navigation LoginUrl="~/Login">

    to

    <Navigation LoginUrl="~/Integration">

Now when browsing to your DriveWorks project you will be automatically logged in.

Editing the Integration Page

To log in as a different user, you first have to log out (close the browser or click logout), browse to the website and add /Login to the URL.

If you want to change who is automatically logged in you will have to go back to the Integration module, because there is now an Auto Login the /Integration suffix cannot be used. To access the Integration page add the following to the URL.

/integration?mode=edit

The Integration module can be edited on the Integration page by following steps 3 to 6 above.

More information on the Integration module can be found using the following link Integration Module.


Knowledge Base Article Ref:KB13103012