Loading
Feature Disruption - Service Cloud VoiceRead More
Feature degradation | Gmail Email delivery failureRead More
Visual Studio Code Based Modeler for Consumer Goods Cloud
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
          Trace Mode

          Trace Mode

          Admins can use the Trace Mode feature to trigger a backend request to trace information related to a specific remote device. This feature helps to analyze and support an issue with the device.

          Required Editions

          Available in: Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled.

          The Trace mode feature simplifies the process of troubleshooting the issues in the database content on the remote devices. The Trace mode can be enabled or disabled remotely. Only authenticated users can request and view the information of remote devices.

          A request is triggered every time the System Management Console (SMC) needs mobile device data. The Synchronization engine decides whether Trace Mode has to be activated.

          The request is then routed to the dedicated mobile device by using Synchronization Web Service. At the beginning of replication, the device calls the DeviceInfo API to fetch the request initiated by SMC. At the end of Replication, a response is sent for the request by using Synchronization Web Service. The Synchronization Web Service supports a URL to receive the compressed JSON with the result.

          The URL consists of a request ID. After the request is submitted, it’s pushed into the request table.

          All the parameters and requests are validated by the Web Service method. If no data request is found open, an HTTP 403 Forbidden message is returned.

          If a data request is found in the JSON result, the request is parsed and stored for asynchronized processing. A thread runs the asynchronized process at user-configured intervals and sends the result back to the Web Service method along with the ID and the GZipped JSON.

          The HTTP-Get API that is used to fetch the requests from the server is also used to put—HTTP-Put—the results into the server.

          Request Type API Standard Format
          Get Request (HTTP-Get)
          https://[ServerName]:[Port]/SuncService/DeviceInfo/DeviceID=[DeviceID]
          Put the result (HTTP-Put)
          https://[ServerName]:[Port]/SuncService/DeviceInfo/[RequestID]

          The result JSON consists of two JSON sections. The first JSON section consists of column names and the type of the table. The second JSON section consists of row data pertaining to the table.

           
          Loading
          Salesforce Help | Article