How Do I Find A Lesson ID?

Follow

Applies to: Starter, Pro, Plus, & Enterprise Plans

While finding a course ID, session or resource ID is a fairly simple process that can be done from within the administrator interface via various reports, there is currently no functionality to view the lesson ID for lessons contained within a course. However, via some technical know-how, and the built in dev. console found in your browser, you can find this ID for each lesson as necessary. This is particularly useful for a specific deep link outlined in our deep linking guide that will allow you to automatically launch a lesson for an enrolled user. 

First, you will need to have a user that is enrolled in the course that contains the lesson that you wish to find the ID for, as this method requires logging in via the learner interface, and accessing the appropriate lesson. Next, you will need to follow these steps:

  1. Navigate to the course in question in your learner interface
  2. Once on the course page, open your developer tools interface (F12 in Chrome will bring them up). You'll want to make sure you open this from the Absorb tab/window so you're monitoring the correct activity.
  3. Go to the NETWORK tab and clear out all of the data if there is any. You can do this by clicking the "stop" icon (2nd from the left under the navigational tabs).
  4. Back in the Absorb window, launch the lesson. Don't do anything else.
  5. Back in the dev tools, you'll be looking for something similar to what you see below. It will be the entry that says "/Learn/Lesson" below the call and will contain two bits of info "courseId=" and "lessonId=":

     6. Right click this entry and select COPY LINK ADDRESS

The valid format for using a deeplink that takes the user directly to a lesson is: 

https://{sitename}.myabsorb.com?courseId={courseid}&lessonId={lessonid}  

Of course, this link will also rely on an active session (user is logged in) and valid enrollment in the course.

Have more questions? Submit a request

0 Comments

Article is closed for comments.