Customizing Slide Navigation for HTML Content
Content creator users can include links to other slides within the same presentation or 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
- Link between slides and presentations
- Launch specific slides
- Add text navigation
- Users do not require an additional license
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.
When users select the link or control containing this underlying function, the media player jumps to the slide defined in the function. Navigation from that slide is identical to navigation if that slide was reached through 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 function respects My Setup, Restricted Products on Account, and Allowed Products on Call and TSF when media is launched from a call or an account. The gotoSlide function does not respect Restricted Products or Allowed Products when media is launched from the Media tab.
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.

