Canvas Envision Knowledge Base 5.10 Help

Login Gadgets

A login gadget is an interactive object you can insert into Envision documents for document users to initiate identified document viewing sessions where it is necessary to collect data within a separate session for a particular case, asset, assignment, job, etc., such as a work order, ticket, serial-number-controlled equipment, report, and so on.

The Login gadget for Medical Ventilator Assembly Procedure

To work with login gadgets, you should know:

Login gadget UI and behavior

A login gadget consists of the following UI elements:

The UI elements of a login gadget
  1. Title: a static label that displays the name of the login gadget.

  2. User ID: a text field where a document user should enter their ID, such as the name, email, personal number, etc.

  3. Reference: a text field where the document user should enter the ID of the viewing session, such as a work order number, serial number, ticket number, etc.

  4. Submit: a button to initiate a document viewing session for the given user and operation reference.

There are no validations for the data entered by the document user in the login gadget.

Both fields are required in the document. The document user cannot skip any field to initiate the identified document session. If the document user must authenticate the session to proceed, the page with the login gadget should have no other objects that redirect the document user to the next page.

To initiate an identified document viewing session, the document user should do the following:

  1. Populate the fields.

  2. Click the Submit button or press the Enter key.

Once the session is initiated, the system behaves as follows:

  1. Replaces the Submit button with the User logged in label in the login gadget.

    A login gadget with the User logged in label

  2. Redirects the document user to the next page.

During the identified session, the system records the data entered by the document user in the data capture gadgets to the application database along with the IDs of the user and session provided in the login gadget. You can query data for a particular user, session, or both from the database using the Canvas Envision Portal tools, your solution, or third-party tools.

To quit the identified session, the document user should do the following:

  • Reload the browser tab with the document.

The login gadget does not support authentication with the Canvas Envision web apps or third-party apps. The document users should already be logged in to the required systems.

A document should have one login gadget on the first page.

Configuring login gadgets

As a newly created login gadget has the default settings, you should configure the gadget properties with the Login Gadget Configuration pop-up dialog.

The Login Gadget Configuration pop-up dialog for the Login login gadget

You can configure a login gadget by changing the text labels of its UI elements:

Once you are done with configuring the login gadget, you should test its behavior as an end user.

The Login Gadget Configuration dialog

The Login Gadget Configuration pop-up dialog provides the following controls to configure a login gadget selected in a document:

The Login Gadget Configuration pop-up dialog with the default settings
Title

A string field, the text label that the login gadget displays in the document. This setting is required. If no value is given, the default value is used, which is Login.

Label to display for User ID field

A string field, the text label of the User ID field where a document user should enter their ID, such as the name, email, personal number, etc. This setting is required. If no value is given, the default value is used, which is User ID. This label is displayed in the document but is not saved to the database.

Label to display for Reference field

A string field, the text label of the Reference field where a document user should enter the ID of a viewing session, such as a work order number, serial number, ticket number, etc. This setting is required. If no value is given, the default value is used, which is Work Order. This label is displayed in the document but is not saved to the database.

Text to display on submit button

A string field, the text label that the Submit button displays. The default value is Submit.

Changing the login gadget title

To change the title of a login gadget:

  1. Select the login gadget.

    A default login gadget
  2. Open the Login Gadget Configuration pop-up dialog.

  3. In the Title field of the Login Gadget Configuration dialog, enter the new title that the login gadget will display in the document.

    The Title field in the Login Gadget Configuration pop-up dialog
  4. If necessary, continue configuring the login gadget as discussed in the following sections.

  5. Once done with configuring, click the OK button to save the changes. The dialog disappears, and the login gadget has the title you entered in the Title field.

    A login gadget with the Start Asset Inspection title
  6. Verify that the login gadget behaves as expected.

Changing the User ID field label

To change the label of the User ID field of a login gadget:

  1. Select the login gadget.

    A default login gadget
  2. Open the Login Gadget Configuration pop-up dialog.

  3. In the Label to display for User ID field field of the Login Gadget Configuration dialog, enter the new label that the User ID field will display in the login gadget.

    The Label to display for User ID field field in the Login Gadget Configuration pop-up dialog
  4. If necessary, continue configuring the login gadget as discussed in other sections.

  5. Once done with configuring, click the OK button to save the changes. The dialog disappears, and the User ID field of the login gadget has the label you entered in the Label to display for User ID field field.

    A login gadget with the Inspector No label of the User ID field
  6. Verify that the login gadget behaves as expected.

Changing the Reference field label

To change the label of the Reference field of a login gadget:

  1. Select the login gadget.

    A default login gadget
  2. Open the Login Gadget Configuration pop-up dialog.

  3. In the Label to display for Reference field field of the Login Gadget Configuration dialog, enter the new label that the Reference field will display in the login gadget.

    The Label to display for Reference field field in the Login Gadget Configuration pop-up dialog
  4. If necessary, continue configuring the login gadget as discussed in other sections.

  5. Once done with configuring, click the OK button to save the changes. The dialog disappears, and the Reference field of the login gadget has the label you entered in the Label to display for Reference field field.

    A login gadget with the Serial No label of the Reference field
  6. Verify that the login gadget behaves as expected.

Changing the Submit button label

To change the label of the Submit button of a login gadget:

  1. Select the login gadget.

    A default login gadget
  2. Open the Login Gadget Configuration pop-up dialog.

  3. In the Text to display on submit button field of the Login Gadget Configuration dialog, enter the new label that the Submit button will display in the login gadget.

    The Text to display on submit button field in the Login Gadget Configuration pop-up dialog
  4. If necessary, continue configuring the login gadget as discussed in other sections.

  5. Once done with configuring, click the OK button to save the changes. The dialog disappears, and the Submit button of the login gadget has the label you entered in the Text to display on submit button field.

    A login gadget with the Serial label of the Submit button
  6. Verify that the login gadget behaves as expected.

Testing login gadgets

To verify a login gadget as an end-user:

  • Verify that the text labels of the login gadget elements are correct:

    The inactive Start Asset Inspection login gadget
    • The gadget title

    • The User ID field

    • The Reference field

    • The Submit button

20 June 2025