Flexcard SDK Data Source (Managed Package)

For the managed package runtime, you can use a SDK, such as the Salesforce Industries Digital Commerce SDK, which contains all the business logic necessary for your application and reuse that business logic in other applications. This allows you to focus on creating the UI for an application without needing to call an API and process the API response. You only need to call the method of the SDK and the SDK calls the API. The SDK gets the API response, parses that response, then gives it back to the client. The client then consumes the SDK response in the UI so you can design your Flexcard based on the response you receive.

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

See the Salesforce Industries Digital Commerce SDK documentation.

  1. Create and Upload the Static Resource for the SDK to appear in the Flexcard as a data source option. See Create the Static Resource for an SDK Data Source on a Flexcard (Managed Package).
  2. Configure the SDK data source for your Flexcard in the Flexcard Designer. See Configure an SDK Data Source on a Flexcard (Managed Package).
  • Configure an SDK Data Source on a Flexcard (Managed Package)
    For the managed package runtime, configure a data source to use methods from an SDK to provide the data for a Flexcard. An SDK allows you to call multiple data sources, reuse business logic, and control which fields appear on your Flexcard.
  • Create the Static Resource for an SDK Data Source on a Flexcard (Managed Package)
    For the managed package runtime, before you configure an SDK as a data source for your Flexcard, you need to add or create a static resource named OmniStudioActionRegistry that contains the configuration of the SDK that you want to use as a datasource in the Flexcard. The Flexcard looks for a file with that name in the static resource.