Creating a List Configurator Manually

๐Ÿ”ธ Creating the Component Directly

In addition to creating a tab through the builder, you can add the list configurator anywhere using the Aura Component <SBLS:ListConfigurator />.

<aura:component >
    <SBLS:ListConfigurator configurationid="{BUILDER_RECORD_ID}" />
</aura:component>

๐Ÿ”ธ Aura Component Attributes

Attribute
Description

configurationId

The record ID of the builder.

height

The height of the configurator (unit: px). The default value is 500px.

parentFieldApiName

When adding the configurator as a related list on a record page, specify the API name of the field that references the list configurator object from the record page object.

recordId

When adding the configurator as a related list on a record page, set this to the record ID of the record page object.

hideFilters

Hides the configured filters.


๐Ÿ”ธ Example: Creating a Component

Creating a Component for a Tab

If your organization or profile has IP restrictions, you may not be able to use the builderโ€™s tab creation feature. In such cases, you need to create a tab manually by writing an Aura Component.

<aura:component implements="force:appHostable">
    <SBLS:ListConfigurator configurationid="{BUILDER_RECORD_ID}" height="null" />
</aura:component>

When manually creating a tab with a component, set the height attribute to null.

This allows the list configurator to automatically adjust its height within the tab for optimal display.

If you want to embed a list configurator for Opportunity Products (OpportunityLineItem) on an Opportunity (Opportunity) record page, you can create an Aura Component as follows:

<aura:component implements="force:hasRecordId">
    <SBLS:ListConfigurator 
        configurationid="{BUILDER_RECORD_ID}"
        parentFieldApiName="OpportunityId"
        recordId="{!v.recordId}" />
</aura:component>

Last updated

Was this helpful?