3

Can someone please share the package.xml to extract the MetaData for "Account Contact Role" or is it Unsupported Metadata type. Thanks in advance!

1
  • 1
    What exactly are you trying to do/learn?
    – Adrian Larson
    Nov 8, 2016 at 23:30

2 Answers 2

6

Yes, it can be deployed via the Metadata API using the CustomField metadata type. The name will be AccountContactRole.Role.

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>AccountContactRole.Role</members>
        <name>CustomField</name>
    </types>
    <version>37.0</version>
</Package>

Note that there was a change in v38.0 to use StandardValueSet Names.

See also:

0

The new approach (API version 38.0 and later) to get/deploy this metadata is:

<types>
    <members>AccountContactMultiRoles</members>
    <name>StandardValueSet</name>
</types>    

Reference

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .