Current Slide number

Hello everyone, I am updating our template due to changes made in SL3. 

At the top of your template we have a text field %curpage% out of %totalpages% we used to update these values using player variables but we no longer have access to this in SL3. 

It has been easy enough to modify the values using next and previous page buttons on the slide master that trigger +1 or -1 to the variable. For now we are having to set "totalpages" manually before publish. 

The issue is when navigating by the menu I can not seem to figure out how I would update this value to the correct slide number, aside from having a trigger on each frame to set the "curpage" to = X

I would like to implement a method of tracking the current page number using the slide master that does not have to be modified for each specific module. And if possible also set the "totalpages" value automatically.

26 Replies
Alyssa Gomez

Hi there Christian, 

You've got some really neat ideas! I've seen requests for a built-in slide counter before, and I'll definitely bring it up with our Product team again. I know using variables and triggers for this can be cumbersome, and a built-in feature would make life easier! 

Hopefully other folks in the community can chime in with their ideas, and in the mean time, the link I shared above should get you started. 😊

Christian Cuneo

Thank you for the reply. I hope that this is something that we can resolve soon.

We really need to include this feature as we are also importing frame text from a .txt file that we insert into the published content. There are javascript triggers that split this file into an array. Then the "frameTitle" and "frameText" variables are updated using javascript that pull a specific element in the array based on the "curpage" variable. We do this so that we can easily make changes to the text or even change the language without having to republish. Without being able to update the "curpage" properly this is now broken as well.

Alyssa Gomez

Thanks, Christian. We support the published output without any modifications so that we can be sure that every feature of your course works well.  

As for the Javascript, that area is certainly not my forte, but it sounds like you've lost some capabilities that you had in previous versions of Storyline. Can you expand on that a bit?

Jerry Lake

Has there been any traction on this?

I'm having a similar issue. My Master Slide trigger (for setting "X of X" slide numbers) from SL2 (using story.allSlides[player.slideIndex].sceneSlideIndex+1;) no longer works. I feel like the data must be available to app.min.js, but the minified version is nearly impossible to read w/ no comments or actual variable names. 

Leslie McKerchie

Hi Jerry and welcome to E-Learning Heroes :)

Are you utilizing Storyline 3 or Storyline 360 now? We are aware of some JavaScript triggers that are no longer working for users.

While we do not support JavaScript, we are looking into why this behavior may have changed.

I will add this thread to the report so that we can track user impact and update here when applicable.

Leslie McKerchie

Hi Lorenz,

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. Send us your feature requests with specific system variables you'd like to see and examples of how they could be used.

John Blum

It really would be helpful to have system variables for the current slide number and last slide number.  Showing slide X of Y was requested yesterday, and has come up in the last 3 companies I've worked at.  Those system variables could be provided with the caveat that they only work correctly with linear courses and would be subject to error in courses that contain branching, etc.

Thank you,

John

John Nixdorf

This is a request of long standing. I and others made it at least 4 years ago. Having just updated to Storyline 360 I thought I'd take a look and see if it's been added. It hasn't.

For whatever inscrutable reason, Articulate has decided to not make this very simple (I would think) system value available to users.

Tracy Livingston
John Nixdorf

This is a request of long standing. I and others made it at least 4 years ago. Having just updated to Storyline 360 I thought I'd take a look and see if it's been added. It hasn't.

For whatever inscrutable reason, Articulate has decided to not make this very simple (I would think) system value available to users.

Well said.

Tracy Livingston

A feature like this that once existed and is now deprecated makes no sense. I've spent more time trying to get simple javascript actions to work, that actually worked 2 versions ago and now they don't. It's been more than a frustrating waste of time and to be frank in my frustration I'm not really sure the value in upgrading to a later release when truly basic features fall off.

Ashley Terwilliger

Hi John,

I hope today will showcase our commitment to Articulate 360 and our customers -  Storyline 360 now has slide numbers! 🌟 

For more details, check out the following discussions and examples:

Alyssa Gomez

Great question, John! And thanks for checking out the new Slide Numbers feature. 😁

For random question slides in a question bank, you'll want to use the Slide number in scene and Project Order.  

This will insert a # sign on your slide, like this. When you preview or publish, the number sign gets replaced with the actual value.

For a step-by-step demonstration of this process, check out this video!