19626
2023-06-06 b28b7983fd65d7e3da0e6a57ba1754899f036971
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
    <apiVersion>54.0</apiVersion>
    <isExposed>true</isExposed>
    <targets> 
        <target>lightning__AppPage</target> 
        <target>lightning__RecordPage</target> 
        <target>lightning__HomePage</target> 
        <target>lightning__RecordAction</target> 
        <!-- 屏幕流配置 --> 
        <target>lightning__FlowScreen</target> 
    </targets> 
 
    <!-- 定义变量 --> 
 
    <targetConfigs> 
        <targetConfig targets="lightning__FlowScreen"> 
            <!-- name js中使用的变量,从屏幕流中获取参数  label 在屏幕流的该LWC的设置中显示 --> 
            <property name="oppId" type="String" label="oppId"/> 
            <property name="oppName" type="String" label="oppName"/> 
            <property name="oppForecastStatus" type="String" label="oppForecastStatus"/> 
        </targetConfig> 
    </targetConfigs>
</LightningComponentBundle>