You create object-based custom Lightning types in Prompt Builder to structure prompt template output.
When you edit these types, you can’t modify certain field properties to avoid disrupting integrations.
Modifications such as renaming fields, changing data types, deleting fields, or making optional fields required can cause
integrations and references to fail.
Required Editions
Available in: Lightning Experience
Available in: Enterprise, Performance, and Unlimited
Editions with the Einstein for Platform, or Einstein or Agentforce for Sales or
Service add-on, or Agentforce Foundations
Breaking Changes
To protect the integrity of your schema references, you can’t modify existing fields in these ways.
Data Type. You can’t change the data type, for example, from Text to Number,
because integrations expect a specific data format.
Delete. You can’t delete an existing field referenced by integrations.
Field Name. You can’t rename an existing field because external references rely on the specific API name.
Required. You can’t make an existing optional field required. Making a field mandatory can break legacy data or integrations that don’t provide a value for that field.
Safe Changes
You can safely make these updates without disrupting dependencies.
Add new fields. You can add new fields to an existing custom Lightning type. To ensure backward compatibility, new fields default to optional with the Required checkbox disabled.
Make required fields optional. You can deselect Required to make a field less restrictive.
Update descriptions. You can modify descriptions to provide better clarity.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.