Skip to main content
Question

Can I display the Course Name associated to a Course_ID on a HTML Training Material page?

  • December 12, 2024
  • 2 replies
  • 40 views

Forum|alt.badge.img

We are trying to create a prerequisites page for a course using the HTML training material type. On this page we will provide hyperlinks to the prerequisite courses. We are looking for a way to populate the course name using the course_id. This way, if we change the course title, we wouldn’t need to update the prerequisite pages.

Is there any way to leverage the short codes or the api to do this?

2 replies

Adam Ballhaussen
Guide III
Forum|alt.badge.img+7

@gstager ​@Bfarkas I’m tapping in the big guns for this one! Hoping one of you might be able to help us here 🤞


Here’s the concept:

We’d like to include a list of recommended courses directly in a Training Material within a Course (via hyperlinked text). Since course names are prone to change, we’d ideally like to populate the course name dynamically. We’re thinking we’d either use an HTML or an xAPI training material, but we’re stuck trying to figure out how we’d retrieve and display the course names based on a course id. 

Any thoughts?


gstager
Hero III
Forum|alt.badge.img+8
  • Hero III
  • December 13, 2024

Sounds like a job for a code we can’t use.

I have not implemented any API stuff or even played with it yet so I cannot speak to that.