Customizing Slide Navigation for HTML Content
- Document Model
Content creator users can include links to other slides within a presentation or to slides in other presentations, or directly launch a specific slide. This allows content creator users to develop dynamic and interactive content for end users.
Who can use this feature?
- Content Creator Users - Browser
- Linking Between Slides and Presentations
- Adding Text Navigation
- End Users - iPad
- Navigating Between Slides and Presentations
- Users do not require an additional license
Configuring Slide Navigation for HTML Content for
Ensure Configuring CLM as Document Model is complete.
Linking Between Slides and Presentations
Content creators can use the gotoSlide JavaScript function within an HTML <a> tag as the onclick attribute (for example, onclick="com.veeva.clm.gotoSlide(media_file_name, presentation_id)) or update the document location attribute within the JavaScript code. This assumes the same Media File Name is not used for more than one slide in a presentation, otherwise, the gotoSlide randomly selects one to jump to.
The gotoSlide function jumps to Staged or Approved versions of presentations depending on the status of the originating presentation:
- If gotoSlide is called when viewing a Staged presentation, then it jumps to the latest version of the presentation specified in the parameters (can be Staged or Approved)
- If gotoSlide is called while viewing an Approved presentation, then it jumps to the Approved version of the presentation specified in the parameters
- If the originating presentation does not have a status, the gotoSlide function jumps to the presentation specified in the parameters based on the following priority: status__v = Approved > Staged > blank
Adding Text Navigation as
If the swipe gesture for slide navigation is disabled for a key message, content creators can use the nextSlide and prevSlide JavaScript functions within the HTML5 code to create text links to allow users to navigate between slides.
Navigating Between Slides and Presentations as
When users select the link or control that contains the underlying gotoSlide functions, the media player jumps to the slide defined in the function. Navigation from the slide reached via these functions is identical to navigation of a slide reached via traditional navigation, for example, swiping left displays the slide before that slide in the presentation, not the slide from which the user jumped. Tracking Call Key Messages for CLM Content also continues normally.
The gotoSlide functions respect My Setup Products, Restricted Products on Account, and Allowed Products on Call and TSF when media is launched from a Call or an Account. The gotoSlide functions do not respect Restricted Products or Allowed Products when media is launched from the Home Page.

