Forum Discussion
LMS Course Name JavaScript Action
So much like lmsAPI.GetStudentName(); fetches the variable myName, there should be a function within lmsAPI that can retrieve the className. Use your console and type "lmsAPI." and scroll to all the Get functions, there are likely many. Just guessing, it could be lmsAPI.GetClassroomName(); but everything's case-sensitive of course.
That is what you'll add to the right of =
- PhilMayor3 years agoSuper Hero
LMSSPI doesn’t normally have course name suspect there is a ERS API as well
Sent from my iPhone
- PhilMayor3 years agoSuper Hero
But if it resolves directly in the console you should be able to use as is.
Sent from my iPhone
- JoeLloyd-17dcfe3 years agoCommunity Member
very very strange..... i am just not sure if i have set it up correctly but if the code is there and is being instructed and initiated the exact same as the other codes then it should be working in theory but for some reason it just isnt.....