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
          sendSMS(dial, message)

          sendSMS(dial, message)

          Opens the SMS manager or the default SMS application on the device with the requested phone number and message to initiate sending an SMS directly from the CG Cloud offline mobile app.

          Required Editions

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

          The PhoneGap plugins in the framework supports sending text messages (SMS). For text messages, the default SMS app is used. Only smart phones are supported since tablets don’t generally have phone functionality. This solution is purely hardware-based, so VoIP apps such as Skype are also not supported.

          Parameters

          Returns

          No result. This is because the PhoneGap plugin can’t handle multiple calls caused by fast clicking. The function is thus defined as buffered.

          Sample Code

          
          Facade.sendSMS("0496313035555", "Hello world!");
          

          You can validate whether the same phone number in the app is used by the sendSMS(dial, message) method by clicking the SMS icon and checking the SMS Details dialog

           
          Loading
          Salesforce Help | Article