Loading
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
          updateBTPrefixSuffixAsync(prefix[Code], suffix[Code])

          updateBTPrefixSuffixAsync(prefix[Code], suffix[Code])

          Changes the prefix and suffix based on the values passed.

          Required Editions

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

          For more information, see Barcode Scanning.

          Parameters

          • prefix[code]: Refers to the prefix code.
          • suffix[code]: Refers to the suffix code.

          Example

          The following example describes how to use the Facade.updateBTPrefixSuffixAsync() function:

          
          Facade.updateBTPrefixSuffixAsync("!", "\n"); // Sets the prefix to "!" and the suffix to line feed (\n)
          Facade.updateBTPrefixSuffixAsync(65, 32); // Sets the prefix to "A" and the suffix to " "
          Facade.updateBTPrefixSuffixAsync("_", 13); // Sets the prefix zu "_" and the suffix to carriage return (\r)
          
           
          Loading
          Salesforce Help | Article