Play Games

Search This Blog

Wednesday, January 5, 2022

How to retrieve all the global picklist value sets in vs code using package.xml - Salesforce Globe For You

How to retrieve all the global picklist value sets in vs code using package.xml - Salesforce Globe For You

Solution: Use the below code in package.xml to retrieve global value sets in vs code

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<Package xmlns="http://soap.sforce.com/2006/04/metadata">

    <types>

        <members>*</members>

        <name>GlobalValueSet</name>

    </types>

    <version>52.0</version>

</Package>

Assume 'Alphabet' Global Value set is created as shown in above image.

Output:



No comments:

Post a Comment