Forum Discussion
HenryRYng-d620c
11 months agoCommunity Member
Getting built in variables in JavaScript - Project.ActivityId
How can i access Slide.Id and Project.ActivityId from JavaScript?
player.GetVar("Project.ActivityId") doesent do it an a trigger of
"Set cmi5_objectId to value Project.ActivityId When the tim...
ryanHepler
3 months agoCommunity Member
Trying to do the same thing, and it's not working.
Used
let player = GetPlayer();
let title = player.GetVar("Menu.SlideTitle"); //amongst other built in variables I've tried...
console.log('title');
Keep getting error: Path does not resolve at 'variable that I'm trying'....
Did you end up figuring this out?