Source: https://vaultcrmhelp.veeva.com/doc/Content/CRM_topics/Multichannel/CLMDocModel/CreatingContent/CustomSlideNav.htm

## 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](#Linking)
* [Adding Text Navigation](#Adding)
* End Users - iPad, iPhone
* [Navigating Between Slides and Presentations](#Navigating)
* Users do not require an additional license

### Configuring Slide Navigation for HTML Content for

[![Closed](../../../../../Skins/Default/Stylesheets/Images/transparent.gif)End Users](#)

Ensure [Configuring CLM as Document Model](../DocModelConfig.htm) is complete.

### Linking Between Slides and Presentations

[![Closed](../../../../../Skins/Default/Stylesheets/Images/transparent.gif)Content Creator Users](#)

Content creators can use the [gotoSlide](https://developer.veevacrm.com/doc/Content/CRM_topics/Vault/clm-vault.htm#gotoSlidekeypresentation) and [gotoSlideV2](https://developer.veevacrm.com/doc/Content/CRM_topics/Vault/clm-vault.htm#gotoSlideV2keypresentation) 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 and gotoSlideV2 function jumps to Staged or Approved versions of presentations depending on the status of the originating presentation:

* If gotoSlide and gotoSlideV2is 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 and gotoSlideV2is 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 and gotoSlideV2function jumps to the presentation specified in the parameters based on the following priority: status\_\_v = Approved > Staged > blank

### Adding Text Navigation as

[![Closed](../../../../../Skins/Default/Stylesheets/Images/transparent.gif)Content Creator Users](#)

If the [swipe gesture for slide navigation is disabled](../ManageMediaPlayer/DisableActions.htm) for a key message, content creators can use the [nextSlide](https://developer.veevacrm.com/doc/Content/CRM_topics/Vault/clm-vault.htm#nextslide) and [prevSlide](https://developer.veevacrm.com/doc/Content/CRM_topics/Vault/clm-vault.htm#prevslide) JavaScript functions within the HTML5 code to create text links to allow users to navigate between slides.

### Navigating Between Slides and Presentations as

[![Closed](../../../../../Skins/Default/Stylesheets/Images/transparent.gif)End Users](#)

When users select the link or control that contains the underlying gotoSlide and gotoSlideV2 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](../TrackingCLM/TrackCallKeyMsg.htm) also continues normally.

The gotoSlide and gotoSlideV2 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 and gotoSlideV2 functions do not respect Restricted Products or Allowed Products when media is launched from the Home Page.

### Related Topics

[Navigating Slides and Presentations](../DisplayingPres/NavigateCLM.htm)

[Displaying CLM Content on Mobile Devices](../DisplayingPres/DisplayCLM.htm)
