Loading
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
          startThirdPartyAsync(url, jsonParams)

          startThirdPartyAsync(url, jsonParams)

          You can call third-party apps from within the Consumer Goods (CG) Cloud offline mobile app on Android.

          Required Editions

          Available in: Lightning Experience

          Available in: Enterprise and Unlimited Editions that have Consumer Goods Cloud enabled

          Note
          Note Third party integration is already enabled on iOS platforms. Click here to view the list of third party applications whose URI schemes are allowlisted on the iOS platform, to enable their integration with CG Cloud application.

          Parameters

          • url (String): The URI scheme of the application to be launched.
          • jsonParams (Object)(Optional): A optional JSON object with keys and values as String. This will be passed as data to the launched third-party application.
          Note
          Note
          • On the iOS platform, jsonParams is not supported and completely ignored. Any additional parameter must be part of the url parameter.
          • For more information about adding additional parameters to the url parameter, see the mailto example under the Examples section.

          Returns

          A promise.

          Sample Code

          
          Facade.startThirdPartyAsync("geo:");
          Facade.startThirdPartyAsync("mailto:example@example.com?subject=Hi");
          Facade.startThirdPartyAsync("sms:123456789");
          Facade.startThirdPartyAsync(100).then(function() {
          }, function (err) {// err -> 'url input parameter is not valid'
          });
          
           
          Loading
          Salesforce Help | Article