Skip to main content
Legend
August 27, 2026
Question

New Captivate: Any way to jump to an arbitrary slide using the JavaScript API?

  • August 27, 2026
  • 0 replies
  • 7 views

I’m trying to figure out how to dynamically jump to a slide using the JavaScript API. There is a “Go to slide” action, but that can only handle hard-coded destinations.

cpAPIInterface has an undocumented method, “goToSlide”, used by the aforementioned “Go to slide” action, but it appears to not be intended for developer use. For example adding an action to go to slide 3 of a project results in the code “cp.goToSlide(1526, 780)” being generated. That seems almost deliberately cryptic.

I find it hard to believe that such basic functionality as jumping to a slide is missing from the API. This is essential for any sort of dynamic branching applications.