Li Jun
2022-04-19 2f183a6b0a83ec3f7d35375d5d25d200efc2a3e1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0" encoding="UTF-8"?>
<WebLink xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>CustomLinkTest</fullName>
    <availability>online</availability>
    <displayType>button</displayType>
    <linkType>javascript</linkType>
    <masterLabel>新建</masterLabel>
    <openType>onClickJavaScript</openType>
    <protected>false</protected>
    <url>var toastEvent = $A.get(&quot;e.force:showToast&quot;);
                toastEvent.setParams({
                    &quot;title&quot;: &quot;成功&quot;,
                    &quot;type&quot;:&quot;success&quot;,
                    &quot;message&quot;: &quot;保存成功&quot;
                });
                toastEvent.fire();</url>
</WebLink>