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