2

How do I, through the metadata, retrieve the picklistvalues assigned to a task recordtype, when the picklist is a global value set?

I've tried with the following package.xml, however neither the activity or task file contains any recordtype specific value set.

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>Call_and_Meeting_Result</members>
        <name>GlobalValueSet</name>
    </types>
    <types>
        <members>Activity.Call_Result__c</members>
        <members>Task.Call_Result__c</members>
        <name>CustomField</name>
    </types>
    <types>
        <members>Task.Follow_Up_Task</members>
        <name>RecordType</name>
    </types>
    <version>41.0</version>
</Package>

Hope the question makes sense.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.