Loading
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
          logError Function

          logError Function

          Logs error messages for any errors that occur within the presentation player. This function enables Salesforce admins to analyze and troubleshoot problems.

          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.

          To log errors efficiently and prevent excess entries:

          • Error messages are tracked and logged for each individual presentation page.
          • Only 10 error messages are logged for each presentation page.

          Syntax

          PresentationPlayer.logError(errorMessage)

          Arguments

          Argument Description
          errorMessage The specific error message to include in the log.
           
          Loading
          Salesforce Help | Article