liuyn
2024-03-11 a87f1c3df03078814ee97ad0c8ac200a232419e9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="UTF-8" ?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
    <apiVersion>48.0</apiVersion>
    <isExposed>true</isExposed>
    <masterLabel>Approval History</masterLabel>
    <description>This component executes the same as the Approval History related list.</description>
    <targets>
      <target>lightning__RecordPage</target>
      <target>lightning__AppPage</target>
      <target>lightning__HomePage</target>
      <target>lightning__RecordAction</target>
    </targets> 
    <targetConfigs>
      <targetConfig targets="lightning__RecordPage">
        <property
        name="allowSubmitForApproval"
        type="Boolean"
        label="Allow Submit For Approval"
      />
      <property
        name="showComments"
        type="Boolean"
        label="Show Comments"
      />
      <property
            name="objectApiName"
            type="String"
            label="Object Name"
            description="Automatically bind the page's object name to the component variable"
            default="{!objectApiName}" />
       <supportedFormFactors>
          <supportedFormFactor type="Small" />
          <supportedFormFactor type="Large" />
      </supportedFormFactors>
      </targetConfig>
    </targetConfigs>
</LightningComponentBundle>