XML Configuration

The js-meta.xml file of a custom property editor component must include the lightning__PropertyEditor target to indicate that this component is a property editor.

Here’s how the js-meta.xml file for alignmentCPE looks when the lightning__propertyEditor target is set.

1<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="alignmentCPE">
2   <apiVersion>66.0</apiVersion>
3   <isExposed>true</isExposed>
4   <masterLabel>Alignment Editor Component</masterLabel>
5   <targets>
6     <target>lightning__PropertyEditor</target>
7   </targets>
8</LightningComponentBundle>

See Also

Release Preview

This release is in preview. Features described here don't become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can't guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.