Saves data about the presentation’s state to the state property in the JSON that’s
supplied to the presentation’s Mustache template. Stores the state on the user’s device so that
users can resume a presentation and continue where they left off in the same session or a future
session.
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.
Syntax
PresentationPlayer.saveState(state)
Arguments
Argument
Description
state
Any string that represents the state of the presentation, typically in JSON format.
For example, the presentation state, such as the current slide position, user preferences,
or progress tracking.
State values are stored and saved for each presentation and visit.
When users resume a presentation from a visit, they return to their previous
state.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.