Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Dynamic Capabilities for Presentations

          Dynamic Capabilities for Presentations

          Life Sciences Customer Engagement uses a presentation player that's powered by a Mustache template processor to display dynamic content. Before a page loads, data is collected as a JSON string and fed into the template processor, which uses it to fill in the content placeholders on the presentation page. In the presentation player, users see the fully populated presentation page.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise and Unlimited Editions with Life Sciences Cloud, Life Sciences Cloud for Customer Engagement Add-on license, and the Life Sciences Customer Engagement managed package.

          Before each page loads in the presentation player, data for each presentation and the associated visit are collected and provided as a JSON string so that the Mustache template processor can populate placeholders on the presentation page. The JSON data can also be stored as a JavaScript variable, allowing for direct access in presentation ZIP files.

          • Supported Attributes in Presentations
            Using Mustache variables, you can access Life Sciences Customer Engagement attributes dynamically from presentation ZIP files.
          • JSON Structure for Presentations
            Understand the hierarchy and structure of the JSON properties that are available to the Mustache template processor for Intelligent Content presentations.
          • Presentation Player Functions
            You can include JavaScript code in the presentation ZIP file for Life Sciences Customer Engagement. These functions enable dynamic, interactive presentation content that can query data, navigate slides, update records, launch emails, start or stop tracking metrics, and embed surveys in presentation pages. When the JavaScript function is called during presentations, the action is performed in the presentation player.
          • Callback Event Function
            When an event occurs in the Life Sciences Cloud mobile app, you can use a callback event function to notify the page’s JavaScript, HTML, or template. For example, events can be triggered when users pause or resume tracking presentation metrics.
           
          Loading
          Salesforce Help | Article