Dynamically create chapters based on slidelabels
Hi.
I want to create "chapters" for a course. The user can choose the chapter from a main menu and I have custom navigation. I need an indicator to show when a chapter is completed, that will change the chapter-button on the main page. The number of slides for each chapter is yet unknown, so I wanted to make it a bit generic. I will have all the slide labels in a chapter cointain the same word (eyes, nose, mouth, etc. (It's a course about facial comparison)). I thought I could loop through and get check the slide label of each slide at startup, and generate a MAP with [slideNumber, slideState (a custom variable)].
I have tried
var getSlides = cp.model.data.project_main.slides.split(",");
I believed getSlides would be an array with all the slides in it, and getSlides.lenght; returns the correct ammount if slides. Yet I am unable to figure out how to access the slide label/slideName/lb.
I have also tried to find out if rouped slides in Captivate end up in an array somewhere. But have been unable to find any documentation.
Can anyone point me towards a solution?
Kind regards 🙂
