Hi, I have a project where I need to set the score manually, but the javascript to set Results.ScorePercent is not working. Is this possible?
There were a few discussions in the beta about using javascript to manually set system variables such as Results.ScorePercent, but I can't find the details. I know there was a bug in one RC that caused problems with this.
BTW, the reason I want to set the score manually is because I need to implement a custom activity with custom scoring. I can then calculate the end percentage and set Results.ScorePercent to this value. Opens up so many possibilities!!
Anyone manage to do this? Or is this a read-only variable (hope not!!)?..
I don't know if access to this variable has been granted, but during the beta, I was not able to manipulate any of the built-in score variables. I too was trying to do some custom scoring manipulations (reduced point values if the user requests a hint - this can be seen in the Sales Orientation course). I was unable to accomplish this by modifying the native score variables. As a result, I had to ignore the built-in scoring and create a fully custom scoring structure for the entire course. I'm not sure if this access restriction was a bug or by design, but access to those variables would be great!
Yeah Phil, I understand if they are restricting access by design (although I'd still like to manipulate those variables) but if that is the case, they should then be removed from the appropriate trigger drop-down boxes. It was the fact that I could select those variables as I could any other variable that made it seem like a bug.
I was able to manipulate these values in an early RC. I might still be able to open the project and copy / paste the trigger. You can, however, grab a value FROM that built-in variable to push into your own variable. I'm pretty sure it would also be trivial to force the score through a Javascript trigger.
I'd love to have control over this variable as well. This would allow folks to average quiz scores for an aggregate value using other results slides.
Steve, I've tried to force the Results value through a javascript trigger, but it does not get updated, which is why I think it's now a read only variable :-(
Looks like there is a good case for it to be writeable though!
Nope. Can't manipulate results.ScoreX variables anymore. You can force completions and scores through the LMS API but can't write to results like we could back in the beta
Are there any kind of variables that we can get from Storyline? E.g. number of slides that exist would be a good one, or the current slide number... There doesn't seem to be any documented way of doing that, e.g. if you wanted to create custom navigation
Unfortunately there isn't a way to pull player specific "system variables". I would love these features as I usually end up coding in my own page number / slide number and slide title. I'd save a heap of triggers not having to put those in manually
Thanks Steve, it's heartening that I'm not just missing something that everyone else already knows but hasn't told anyone...
I think my next project should be to hire someone to create a Macromedia Director Xtra to publish all sprites, sprite properties and associated lingo code to HTML5 - it might be a case of going 10 years backwards to get 1 year ahead of everyone lol
Ha! I've got some really old Lingo around here somewhere. More Flash stuff than anything else but haven't been happy with the conversions.
Have been increasingly looking at HTML5 native outputs and tools, including hand coded stuff. I really like this animation library for compatibility with older browsers as well as HTML5 stack properties:
Yeah, SL is still in my toolkit I use it almost every day but, like you, I think the route of closed tools and compiled / obfuscated outputs is mostly not as convenient as it could be. Even tools like Lectora that output HTML aren't necessarily that clean and editable after publish. I get that some kind of player framework needs to be in place to make things consistent but I think that player framework should work on top of the markup, not underneath it.
We're also kind of stuck in the single pattern of output most folks expect in an eLearning package. The PowerPoint style canvas area wrapped in a c-shell navigation template is the most common. I want to have a bit more flexibility to build things like single-page scrollable layouts that can shift or expand based on user actions. No tools support this right now so I'm starting to build stuff from scratch (or near scratch using frameworks). This accommodates a broader array of output targets including task support or other isolated topic support that isn't as helpful when divided into separate screen views.
I'm hoping once we start to see more adaptive / responsive packages, a tool will appear to make these easier to build for folks that don't want to monkey with markup, css, and javascript to get it done. Can't hurt to have another tool in the toolkit:)
When included as a Web object, you can include the library but the timeline of the animations doesn't interact with the SL player timeline. Cool thing about the library is it will work pretty well on both Flash based and HTML5 based outputs. Takes a bit more know-how to get working but I think it's a cool option to have
Thanks Steve, done nothing with webobjects in SL yet, but suspected this would be the route... Must take some time out to play with gsap, thanks for the link.
Are there any workarounds to manually setting Results.ScorePercent withing Storyline or passing a manually calculated percentage score from Storyline to an LMS using SCORM? Maybe using JavaScript?
We want every feature in our software to work well. With that goal in mind, we've decided not to document Storyline system variables that could be accessed via JavaScript triggers.
Storyline isn't currently designed to expose system variables for user interaction. As a result, JavaScript triggers that reference them could interfere with course playback.
We value your feedback and want to better understand your needs so we can build even better software. Help us plan for the future by sending us your feature requests with specific system variables you'd like to see and examples of how they could be used.
Is it possible that the latest update to Storyline 360 (end of September 2018) has made it impossible to access Results.ScorePoint and Results.ScorePercent ?
25 Replies
BTW, the reason I want to set the score manually is because I need to implement a custom activity with custom scoring. I can then calculate the end percentage and set Results.ScorePercent to this value. Opens up so many possibilities!!
Anyone manage to do this? Or is this a read-only variable (hope not!!)?..
Question for the Articulate team I guess.....
Vispi.
I'm also wondering if this variable is available to manipulate...
Hi Sasha, I've thought of a temporary solution for the project I'm working on (still through SL) and will let you know if it works!
Vispi.
I don't know if access to this variable has been granted, but during the beta, I was not able to manipulate any of the built-in score variables. I too was trying to do some custom scoring manipulations (reduced point values if the user requests a hint - this can be seen in the Sales Orientation course). I was unable to accomplish this by modifying the native score variables. As a result, I had to ignore the built-in scoring and create a fully custom scoring structure for the entire course. I'm not sure if this access restriction was a bug or by design, but access to those variables would be great!
Agree with Tim, I have never been able to manipulate this, I expect its by design. Still annoying though
Yeah Phil, I understand if they are restricting access by design (although I'd still like to manipulate those variables) but if that is the case, they should then be removed from the appropriate trigger drop-down boxes. It was the fact that I could select those variables as I could any other variable that made it seem like a bug.
I dont think they are available in the dropdown anymore when you try to manipulate them using a trigger
I was able to manipulate these values in an early RC. I might still be able to open the project and copy / paste the trigger. You can, however, grab a value FROM that built-in variable to push into your own variable. I'm pretty sure it would also be trivial to force the score through a Javascript trigger.
I'd love to have control over this variable as well. This would allow folks to average quiz scores for an aggregate value using other results slides.
Steve, I've tried to force the Results value through a javascript trigger, but it does not get updated, which is why I think it's now a read only variable :-(
Looks like there is a good case for it to be writeable though!
I combed through the thread and haven't found any more on this topic.
Was this the final result...currently we can not manipulate the Results.ScorePass or Results.ScorePercent variables manually?
Nope. Can't manipulate results.ScoreX variables anymore. You can force completions and scores through the LMS API but can't write to results like we could back in the beta
Are there any kind of variables that we can get from Storyline? E.g. number of slides that exist would be a good one, or the current slide number... There doesn't seem to be any documented way of doing that, e.g. if you wanted to create custom navigation
Hey, Sasha -
Unfortunately there isn't a way to pull player specific "system variables". I would love these features as I usually end up coding in my own page number / slide number and slide title. I'd save a heap of triggers not having to put those in manually
Thanks Steve, it's heartening that I'm not just missing something that everyone else already knows but hasn't told anyone...
I think my next project should be to hire someone to create a Macromedia Director Xtra to publish all sprites, sprite properties and associated lingo code to HTML5 - it might be a case of going 10 years backwards to get 1 year ahead of everyone lol
Ha! I've got some really old Lingo around here somewhere. More Flash stuff than anything else but haven't been happy with the conversions.
Have been increasingly looking at HTML5 native outputs and tools, including hand coded stuff. I really like this animation library for compatibility with older browsers as well as HTML5 stack properties:
http://www.greensock.com/gsap-js/
Steve, looks interesting! Are you able to use the library within SL?
Vispi.
Steve,
Is SL still in your toolkit or are you considering other authoring environments?
One of my main concerns with authoring tools through the decades (Toolbook, Authoware, SL) that they are closed.
WYSIWYG environments are great but I love it when you can just Notepad an html, js or css file.
That being said I still think SL is one of the best tools I've worked with.
Regards, Berno.
Yeah, SL is still in my toolkit I use it almost every day but, like you, I think the route of closed tools and compiled / obfuscated outputs is mostly not as convenient as it could be. Even tools like Lectora that output HTML aren't necessarily that clean and editable after publish. I get that some kind of player framework needs to be in place to make things consistent but I think that player framework should work on top of the markup, not underneath it.
We're also kind of stuck in the single pattern of output most folks expect in an eLearning package. The PowerPoint style canvas area wrapped in a c-shell navigation template is the most common. I want to have a bit more flexibility to build things like single-page scrollable layouts that can shift or expand based on user actions. No tools support this right now so I'm starting to build stuff from scratch (or near scratch using frameworks). This accommodates a broader array of output targets including task support or other isolated topic support that isn't as helpful when divided into separate screen views.
I'm hoping once we start to see more adaptive / responsive packages, a tool will appear to make these easier to build for folks that don't want to monkey with markup, css, and javascript to get it done. Can't hurt to have another tool in the toolkit:)
Hi Vispi,
When included as a Web object, you can include the library but the timeline of the animations doesn't interact with the SL player timeline. Cool thing about the library is it will work pretty well on both Flash based and HTML5 based outputs. Takes a bit more know-how to get working but I think it's a cool option to have
Thanks Steve, done nothing with webobjects in SL yet, but suspected this would be the route... Must take some time out to play with gsap, thanks for the link.
Vispi.
So, are we able to do this with the latest update?
Are there any workarounds to manually setting Results.ScorePercent withing Storyline or passing a manually calculated percentage score from Storyline to an LMS using SCORM? Maybe using JavaScript?
Is this possible now? or is this still not allowed to be edit?
Hello J!
We want every feature in our software to work well. With that goal in mind, we've decided not to document Storyline system variables that could be accessed via JavaScript triggers.
Storyline isn't currently designed to expose system variables for user interaction. As a result, JavaScript triggers that reference them could interfere with course playback.
We value your feedback and want to better understand your needs so we can build even better software. Help us plan for the future by sending us your feature requests with specific system variables you'd like to see and examples of how they could be used.
Is it possible that the latest update to Storyline 360 (end of September 2018) has made it impossible to access Results.ScorePoint and Results.ScorePercent ?
This discussion is closed. You can start a new discussion or contact Articulate Support.