How to retrieve apex triggers using package.xml in vs code salesforce - Salesforce Globe For You
Problem: Assume an apex trigger named 'AccountObjectTrigger' is written in salesforce.
Now we need to retrieve this trigger in vs code tool using package.xml
Solution: Use name as ApexTrigger and member as triggername as shown below.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>AccountObjectTrigger</members>
<name>ApexTrigger</name>
</types>
<version>53.0</version>
</Package>
Output:
No comments:
Post a Comment