SmallBuilder Help
AppExchangeContact Us
πŸ‡ΊπŸ‡Έ English
πŸ‡ΊπŸ‡Έ English
  • SmallBuilder Help
  • Getting started with SmallBuilder
    • License and Permission Set Assignment
    • Organization Currency Setup
    • Connected App Configuration
  • πŸ“¦SmallBuilder Line Items
    • Release Notes
      • '25 Update
        • v 1.38
        • v 1.37
    • SmallBuilder Line Items Overview
    • Getting Started
      • Assigning Licenses and Permissions
      • Organization Currency Setup
      • Connected App Setup
    • Builder
      • Getting Stared with the Builder
      • Default Setting
        • Responsive Screen Configuration for Devices
        • Adjusting Editor Screen Ratio
        • Modifying Editor Labels
        • Lookup Selector Settings
          • Search All on Load
          • Expand Filters by Default
          • Allow Select Duplicate Item
          • Caching to Improve Performance
          • Records Per Page
        • Line Item Editor Settings
          • Show Summary
          • Freeze First Column
      • Builder Setup Steps
        • Relate Objects
          • Parent Object
          • Line Item Object
            • Set Object and Parent Reference Field
            • Set Filters and Sorting for Saved Line Items
            • Control Line Item Deletion
            • Set Auto-Numbering
          • Lookup Object
            • Select Lookup Reference Field
            • Set Keyword Search
            • Block Lookup Selector
            • Set Filters and Sorting for Lookup Records
        • Setup Lookup Selector
          • Add Columns
          • Reorder Columns
          • Change Column Labels
          • Set Column Width
          • Change Text Alignment
          • Add Virtual Columns for DataSource
        • Setup Line Item Editor
          • Add Columns
          • Reorder Columns
          • Change Column Labels
          • Set Default Value
          • Source Field: Assigning Default Values from Parent or Lookup Fields
          • Set Column Width
          • Change Text Alignment
          • Set Field Input to Read-Only
          • Set Field Input as Required
          • Display Totals
          • Hidden Setting for Line Item Editor Columns
          • Exclude Certain Fields from Saving
        • Preview
        • Activate
        • Create Button and Add to Page Layout
      • DataSource
        • Basic DataSource: Retrieve Related Object Data
        • Advanced: Retrieve Data Using Apex Classes
      • Cloning the Builder
      • Resetting a Builder
      • Insert Filters Using the Query Wizard
      • Inserting Custom Labels into Editor Labels
    • Product Option
      • Product Option Setup Steps
        • Activate Product Options
        • Configure Product Options
          • Default Setting
          • Line Item Setting
        • Configure Product Option Data
      • Display and Storage of Line Item Option Values
    • Use Cases
      • Utilizing the Editor’s Aura Component
    • FAQ
  • πŸ“¦SmallBuilder Lists
    • SmallBuilder Lists Introduction
    • Getting Started with SmallBuilder Lists
      • Assigning Licenses and Permissions
      • Organization Currency Setup
      • Connected App Setup
    • Getting Started with Builder
    • Builder Setup Steps
      • Default Setup
        • Title
        • Legend
        • Allow Export
        • Allow Import
        • Show Icon
      • Datatable Setup
        • QUERY
        • Multi Selectable
        • Show Summary
        • Add and Edit Columns
          • Column Editing by Type
        • Add Virtual Column
        • Add Row Action
      • Data Import Setup
      • Action Setup
        • Add Action
      • Filter Setup
        • Add and Configure Filters
          • Filter Editing by Type
      • Compact Configurator Setup
        • Add and Configure Columns
          • Editing by Column Type
      • Mobile Setup
      • DataSource Setup
        • Basic DataSource
          • Add and Configure Actions
        • Advanced DataSource
          • Writing an Apex Class
      • List Deployment and Management
        • Creating a List Configurator Manually
  • πŸ“¦SmallBuilder Documents
    • SmallBuilder Documents Introduction
    • Quick start
    • Components
    • Data Merge
      • Data Merge - Text
      • Data Merge - Related List
    • Document Job
    • Basic usage examples
      • How to pin a logo image to the top of the page
      • How to leave a gap between the components
      • How to add separators between the components
    • Advanced usage examples
      • Creating an invoice template
      • Automatically email invoices with a trigger
    • FAQ
    • 🌟Release Note
      • '24 Update
        • v. 1.50 ~
  • πŸ“¦SmallBuilder Schedules
    • SmallBuilder Schedules Introduction
    • Quick start: creating a new Schedule configurator
    • Detailed setup guide
      • Basic settings (Side Panel)
      • Linked objects setup
      • Control Field setup
      • Schedule Object setup
      • Saving and activating
    • FAQ
  • ❓SmallBuilder Troubleshooting
    • SmallBuilder Troubleshooting Help
      • Add Button Warning (If the button is not added to the page)
      • Add Tab Warning (Tabs are created and added to the app, but not visible)
Powered by GitBook
On this page
  • Steps to Configure Apex Class Advanced DataSource
  • Steps to Configure Flow Advanced DataSource

Was this helpful?

Export as PDF
  1. SmallBuilder Lists
  2. Builder Setup Steps
  3. DataSource Setup

Advanced DataSource

PreviousAdd and Configure ActionsNextWriting an Apex Class

Last updated 4 months ago

Was this helpful?

The Advanced DataSource allows you to retrieve and display data from external servers alongside Salesforce data. By leveraging custom Apex Classes or Flows to fetch data, this feature offers greater flexibility and diverse data access compared to internal DataSources. It enables the integration of Salesforce data with external systems, providing a unified view in the List while supporting complex business logic and data transformations.

For instance, if you want to display real-time inventory data from an external server, you can write a REST API call in an Apex Class and specify it as the Advanced DataSource, enabling the data to be displayed in the List.

Multiple DataSources can be configured and used simultaneously.

What is Key?

A Key is a common field used to merge data from the DataSource into the List. It ensures proper integration by linking data from the external DataSource with the List records.

Apex Class Advanced DataSource Setup

To configure an Advanced DataSource with an Apex Class, you must first create the Apex Class. Implement the SBLD.DataSourceService.Fetchable interface provided by the SmallBuilder Lists package in the Apex Class you want to use.

Learn more about writing Apex Classes >


  1. Search for and select the target Apex Class.

  2. Configure the following attributes:

No.
Name
Description
Required

1

Active

Enable the DataSource. If not activated, it will not function during List configuration.

2

Description

Add a description for the DataSource.

3

Key Field

Select a field in the List’s object that shares a common value with the key set in the Apex Class.

βœ”οΈ

4

Parameters

If the Apex Class requires field values from the List’s object, select and map those fields to be passed as parameters to the Apex Class.

βœ”οΈ


  1. Search for and select the target Flow.

  2. Configure the following attributes:

No.
Name
Description
Required

1

Active

Enable the DataSource. If not activated, it will not function during List configuration.

2

Description

Add a description for the DataSource.

3

Input Variable

βœ”οΈ

4

Output Variable

βœ”οΈ

5

Key Field

Select a field in the List’s object that shares a common value with the output variable’s field in the Flow.

βœ”οΈ

Steps to Configure Apex Class Advanced DataSource

Click the button to add a DataSource.

Steps to Configure Flow Advanced DataSource

Click the button to add a DataSource.

Select variables to pass data to the Flow. This step is optional if no parameters are needed. πŸ’‘ The options displayed are the input variables (marked as β€œAvailable for input”) defined in the Flow.

Select variables to retrieve data from the Flow’s result. πŸ’‘ The options displayed are the output variables (marked as β€œAvailable for output”) defined in the Flow.

πŸ“¦
πŸ”Έ
βž•
πŸ”Έ
βž•
Advanced DataSource Setup
Search Apex Class
Advanced DataSource for Apex Class Setup
Advanced DataSource Setup
Search Flow
Advanced DataSource for Flow Setup