Legacy Portal: Set Up Your D2L Integration

Before You Begin 

What you need:

  • Mozilla Firefox or Google Chrome
  • D2L Administrator Account
  • Note taking software to record values (Notepad, Wordpad, etc.)
  • The Key/Secret provided by your ExamSoft contact.

References:

 

Procedures

Complete all of these procedures.

 

Register the ExamSoft App

  1. Login to D2L.
  2. Select the Gear icon (at the top right), and then select Manage Extensibility.

    rtaImage1.png

  3. Under the ID Key Authorization tab, select Register an App

    rtaImage1.png

  4. Enter this information:
    • Application Name: ExamSoft
    • Trusted URL: https://apitesttool.desire2learnvalence.com/index.php

      Note: Double-check to ensure that you entered the Trusted URL correctly. It is the link to the API Test Tool.

      Leave the Major Version (1) and Minor Version (0) numbers as is.
  5. Select the checkboxes to enable the application and to accept the agreement.
  6. Select Register Application (near the lower left corner).

    rtaImage1.png

  7. Copy the Application ID and Application Key and paste them into a file so that you can retrieve this information later in these procedures.

    rtaImage1.png

  8. Continue to the next procedure.

 

Create the User Role

  1. Select the Gear.
  2. Under Security, select Roles and Permissions.

    rtaImage1.png

  3. Select Create/Copy.
  4. Select Start Fresh
  5. Select the options below.

    rtaImage1.png

    • Access
      • Access inactive courses
      • Access past courses
      • Access future courses
    • Sections: Access all course sections
    • Groups: Access all course groups
  6. Select Save to save the new role.
  7. Continue to the next procedure.

 

Import and Apply the Role Permissions

  1. Use this D2L Permissions File download link to download the permissions file (right-click on the link, and then save the file on your computer). 
  2. Back in the role list, locate the new ExamSoft role that you created.
  3. Scroll down to find the ExamSoft role, select the drop-down arrow, and then select Import Permissions.

    rtaImage1.png

  4. Select Choose File, and then browse for the permissions file that you previously downloaded.
  5. Select Next, and then select Next again.
  6. Ignore the errors shown and scroll to the bottom of the page. Select the Show Preview button to see the changes made by the import to the ExamSoft Service Account role.
  7. Select Import at the bottom left.
  8. Under Security, select Roles and Permissions.

    rtaImage1.png

  9. Find Administrator, select the drop-down arrow, and then select Edit Role Permissions.
  10. In each row of the table (Search, Enroll, and Impersonate), select all of the checkboxes to assign full rights to the newly created role.

    rtaImage1.png

  11. Select Save and Close.
  12. Continue to the next procedure.

 

Create the Service User Account

  1. Select the Gear icon, and then select Users (near the top left corner).

    rtaImage1.png

  2. Select New User.
  3. Enter a First Name and a Last Name to identify this account. 

    Note: No password is necessary.

    Example

    rtaImage1.png

  4. Select Save.
  5. Continue to the next procedure.

 

Impersonate the Service User Account

You'll be impersonating the service account to authenticate against the API Test Tool, which creates the User ID/Key from the service account rather than your administrator account

  1. Select the Gear icon, and then select Users (near the top left corner).

    rtaImage1.png

  2. In the left side, find the new service user account that you created.
  3. Select the drop-down arrow, and then select Impersonate User.

    rtaImage1.png

    Your current session will now be impersonating this user.

  4. Continue to the next procedure.

 

Authenticate with the API Test Tool

  1. Open a new browser tab.
  2. Go to the API Test Tool.
  3. Enter the following values:

     

    • Host: Enter your D2L instance URL, but omit https://.
    • App ID: Enter the Application ID that you saved earlier in these procedures.
    • App Key: Enter the Application Key that you saved earlier in these procedures.
    • Select Authenticate.

       

      rtaImage1.png
      Do not use the credentials shown in the above screenshot. This is for illustrative purposes only.
    • Selecting Authenticate might produce the following error. The request's 'x_target' value does not match the allowed values for this application. Contact your administrator. 

      If this was the case, it is likely the trusted URL within the app was not properly set to: https://apitesttool.desire2learnvalence.com/index.php

  4. Select Continue when prompted.
  5. Copy the User ID and User Key into the same file where you previously recorded the App ID and App Key.

    rtaImage1.png

    Tip: Triple click the text boxes to highlight the values and copy them.
  6. Stop impersonating ExamSoft Service Account.
  7. Continue to the next procedure.

 

Add the ExamSoft API as a New External Tool

New content experience Original content experience
  1. Select Content, then select New Unit

  1. Unit Title: ExamSoft External Tool

  1. Select Save and Close
  2. Select ‘Add Existing’

  1. Select ‘External Tool Activity’

  1. Select ‘Manage External Learning Tools’

  1. Select the Manage External Learning Tool Links tab, then click New Link
  2. Enter the New Link settings
    • You can enter any Title.
    • For the URL, enter: https://lmsintegration.examsoft.com/lms/admin.jsp
    • Under Visibility, select Allow users to view this link.
    • Under Key/Secret, select the checkbox for Sign messages with key/secret with.
    • Enter the Key and the Secret that were provided by your ExamSoft Contact.
    • Under Security Settings, select Use link security settings and all of the checkboxes below it.
  3. Select Save and Close. 
  4. Navigate back to the External Tools list. 
  5. Select the link you just added on the left, then select three dots, then Edit

  1. Select the dropdown arrow for ‘Display & Completion’ then select Open in a new tab

  1. Select Save and Close
  2. Select ‘Open Link’ to open the External Tool

 

Next Steps

Configure the ExamSoft API. See: Legacy Portal: Setup ExamSoft API

Was this article helpful?
1 out of 1 found this helpful

Articles in this section