Welcome to my blog

I have been working with Salesforce for quite a while, so don’t hesitate to contact me if you have any questions or want some advice.

s f

Subscribe
Follow Us
h

How to deploy Report Type Custom Picklist Field Value to another org?

 . Adminstrator  . How to deploy Report Type Custom Picklist Field Value to another org?

How to deploy Report Type Custom Picklist Field Value to another org?

Deploy Report Type Custom Picklist Field Value to Another Org?

When you deploy report type from one org to another org(sandbox to sandbox OR sandbox to production) – we may see report type picklist field values are not migrated through deployment.

Sandbox Picklist Value: (Value assigned manually by developer)

After deployed to PROD:

Used ANT Script for deployment :

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>AccountAddress__c.Account_With_City</members>
        <name>ReportType</name>
    </types> 
    <version>36.0</version>
</Package>

Expected Result: Selected value should be “Sathish”,”Periyasamy”.

Solution :

Add picklist field part of Package.xml

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>AccountAddress__c.Test_List__c</members>
        <name>CustomField</name>
    </types>
    <types>
        <members>AccountAddress__c.Account_With_City</members>
        <name>ReportType</name>
    </types>
    <version>36.0</version>
</Package>

This way field picklist values are part of report type picklist field.

Post a Comment