lightningCommunity__Page Target

Enables a component to be used on a page in Experience Builder. Components appear in the Components panel.

Syntax 

1<?xml version="1.0" encoding="UTF-8"?>
2<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
3    <apiVersion>58.0</apiVersion>
4    <isExposed>true</isExposed>
5    <targets>
6        <target>lightningCommunity__Page</target>
7        <target>lightningCommunity__Default</target>
8    </targets>
9    <targetConfigs>
10        <targetConfig targets="lightningCommunity__Default">
11            <property name="buttonLabel" type="String" default="Submit" label="Button label" description="Enter a label for your button"></property>
12        </targetConfig>
13    </targetConfigs>
14</LightningComponentBundle>

Usage 

To expose editable properties, use this target with lightningCommunity__Default. lightningCommunity__Page doesn’t support component properties.

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.