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
    What exactly are you trying to do/learn?
    – Adrian Larson
    Nov 8, 2016 at 23:30

2 Answers 2


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">

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

See also:


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



You must log in to answer this question.

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