Loading
Mail Delivery Issue Impacting Email to Salesforce UsersRead 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
          addCustomDataSource(objectClassName, dataSource)

          addCustomDataSource(objectClassName, dataSource)

          Define a custom data source at runtime. Custom data sources are used when the normal data source mechanism can’t be applied. In the current framework, the data source name is derived from the business object name that uses this data source. Another use case could be that in certain situations, a data source that differs from the default data source configured for the business object must be used.

          Required Editions

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

          Parameters

          objectClassName
          Type: String
          The name of the object class that uses the data source.
          dataSource
          Type: DataSource
          An instance of the data source to be used.
           
          Loading
          Salesforce Help | Article