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
    • Release Note
      • '25 Update
        • v 2.5
    • 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
    • Migration
      • JSON Export
      • JSON Import
  • πŸ“¦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
  • Properties
  • Action
  • Example

Was this helpful?

Export as PDF
  1. SmallBuilder Lists
  2. Setup
  3. Data source setup

Internal data sources

Last updated 1 year ago

Was this helpful?

Internal DataSources are used when you want to look up related objects in Salesforce to present data together.

For example, if the Lookup object is specified as 'Product2' and you want to display the unit price from a 'PricebookEntry', you can use an internal data source to look up the 'PricebookEntry' that meets the criteria, and display the product and unit price together.

  • Describes each property of Internal data sources.

  • To combine data from a data source with the list, you must map the fields from the data source to fields in the list (you can create virtual fields to hold these values).


Properties

Field name or area
Description
Req.

Object search

Search for and select the target object in the data source.

βœ”οΈ

Enable

Enables the data source. You will not be able to use disabled data sources when builfing custom lists.

Description

Provide a description of the datasource.

Conditions

To use data from a data source in a custom list, you need to map the data source fields to the columns in the list (you can use the virtual fields you set up earlier for this).

βœ”οΈ

Action

To use data from a data source in a custom list, you need to map the data source fields to the columns in the list (you can use the virtual fields you set up earlier for this).

Field name or area
Description
Req.

Key

To match records in your data source with records in your list, select a key field to match records on.

βœ”οΈ

Actions

These map the data retrieved from the data source to the columns in your list.

βœ”οΈ

Click this button to add an Action.

Add Action

Area
Description

DataSource Field

Shows the fields available in the object specified in the data source.

Lists Field

Shows the fields available in the object specified in the list.

Virtual Field

Shows the virtual columns you created in the list.

Results

Shows the results of which fields to map from the data source (on the left) to the custom list (on the right).

Example

You want to retrieve a list of products, so you specify the underlying object of the list as Product. You also want to display the list with the unit prices stored in the PricebookEntry object.

  1. (optional) In the Condition field, enter Product2Id IN {$Current.Id} (equivalent to a SOQL Where statement).

  2. To match the PricebookEntry data to the Products, click the pencil button to the right of the Key row.

  3. In the pop-up window that opens, choose the following options and save:

    • Data source field: Product2Id

    • List field: Id

  4. Press the Add Action button to display the unit price of the PricebookEntry in the list column. Note that before completing this step you must have created a virtual column in the Datatable Setup screen as described above.

  5. In the pop-up window that opens, choose the following options and save:

    • Data source field: UnitPrice

    • List field: SBLDVirtual1 (or whichever name you chose)

Create if you need to apply a condition when looking up objects in the data source (equivalent to a Where clause in SOQL). It may be easier to write your search query if you use the Field API Name Finder to find the appropriate field names. When writing conditional statements using fields from the underlying object, be sure to use 'IN', not '='. $Current means the list's underlying object. Correct example: Product2Id IN {$Current.Id} Incorrect example: Product2Id = {$Current.Id}

Click the button to search for and select PricebookEntry.

πŸ“¦
βž•
⚠️
Actions
Add Action
Properties
Action
Example