有的时候我们需要从 Org 里面 Retrieve 我们需要的东西,在Manifest 文件里我们需要配置一下,具体可以参考官方文档: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/manifest_samples.htm
现整理如下:
- Custom & Standard Object
<types>
<members>Account</members>
<name>CustomObject</name>
</types>
- Standard Picklist Fields
<types>
<members>Industry</members>
<name>StandardValueSet</name>
</types>
- Custom Field
<types>
<members>Account.Industry</members>
<name>CustomField</name>
</types>
- ListView
<types>
<members>Account.AccountTeam</members>
<name>ListView</name>
</types>
- Apex Class
<types>
<members>*</members>
<name>ApexClass</name>
</types>
- Apex Trigger
<types>
<members>*</members>
<name>ApexTrigger</name>
</types>
- Static Resource
<types>
<members>*</members>
<name>StaticResource</name>
</types>
- Custom Metadata
<types>
<members>*</members>
<name>CustomMetadata</name>
</types>
- Email Template
<types>
<members>*</members>
<name>EmailTemplate</name>
</types>
- Custom Labels
<types>
<members>*</members>
<name>CustomLabels</name>
</types>
- Layout
<types>
<members>*</members>
<name>Layout</name>
</types>
网友评论