---
schema_version: "1"
id: 18e718e410955532356e56db9cfae34ae2d9a1d0bc114ce2e8bcdfb4a71c4d3d
title: Considerations and Limitations for Custom Lightning Types
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/lt_consider_limit.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.lt_consider_limit.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e2064b28799ff091a536f9f5f5dfe8bdae3ad78b92bea4e8a14193c279a527a2
description: Review the considerations and limitations for custom Lightning types.
products:
  - Salesforce Platform
release: "264"
---
# Considerations and Limitations for Custom Lightning Types

Review the considerations and limitations for custom Lightning types.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions.</td></tr></tbody></table>

## Considerations

- Unless you select a custom component for a custom Lightning type, Enhanced Chat v2 uses the Agentforce (Lightning Experience) component by default.

## Limitations

- When creating an Apex-based custom Lightning type, the list of available Apex classes doesn’t include file-based Apex classes. If you can’t find your class in the list, you can manually enter its fully qualified name.
- You can’t configure specific properties, such as minimum, maximum, multipleOf, minLength, and maxLength, in the schema.json created via Metadata API in the Setup UI. However, updating the object-based custom Lightning type in the Setup UI preserves these values.
- You can’t configure the title property created via Metadata API for schema.json in the Setup UI. Updating the object-based custom Lightning type in the Setup UI sets the title value to the Field Name.
- You can’t configure property-level component overrides or layouts created via Metadata API in editor.json in the Setup UI. Updating the editor configuration in the Setup UI removes these configurations.
- If you use a custom label for properties such as title or description via Metadata API, updating the object-based custom Lightning type in the Setup UI overwrites the label reference with the static text displayed in the UI.
- When previewing custom Lightning types (CLTs) in Agentforce Builder, these considerations apply.
    - Preview for CLTs is supported for Agentforce Employee agents and Agentforce Service agents. Service agents must have an Enhanced Chat v2 connection, and you must select the Enhanced Chat v2 connection from the Preview Mode dropdown in the Agentforce Builder Preview panel.
    - To preview CLTs for an agent, start a preview conversation in live test mode.
    - Agents can be in draft or committed states.You can also preview CLTs for Agentforce Service agents from the Embedded Service Deployments Settings page in Setup. Click Test Enhanced Web Chat.