user
@deidraphillips
Leaderboard doesn't update right away
My leaderboard isn't updating immediately. When I play the game, I do not show up on the leaderboard. If I play it again, I can see the entry from the previous attempt.
reply
Reply
user
@support
It sounds like you're displaying the leaderboard before the call to add a new entry completes. As per the How to Use instructions: If you need to track from within the learning course whether the new row has been saved, create a variable stencilrendered and set its value to 0. After the record is saved, the value will increase by 1.
reply
Reply
user
@deidraphillips
I have created the stencilrendered variable, but there are no instructions on how to use the variable. It doesn't do anything automatically. What action causes the record to be saved?
reply
Reply
user
@deidraphillips
For anyone out there who might need the info, here is how I solved the problem. Execute the javascript at least one slide before you display the leaderboard. That seems to give the new record enough time to save.
reply
Reply