+ Start a Discussion
Anindya ChattopadhyayAnindya Chattopadhyay 

Deploying changes for Standard Value Set Using Force.com IDE

Hi All:

Just wondering whether it is possible at all to deploy changes for Standard Value Set using Force.com IDE.

We have changed the values of Stage in our Opportunity object and trying to deploy that from one Ssandbox to another one. However I am getting the following error:

# Deploy Results:
   File Name:    objects/Opportunity.object
   Full Name:  Opportunity.StageName
   Action:  NO ACTION
   Result:  FAILED
   Problem: To modify a Standard Picklist, use Standard Value Set instead.

   File Name:    objects/Opportunity.object
   Full Name:  Opportunity.Purchase
   Action:  NO ACTION
   Result:  FAILED
   Problem: Picklist value: Order Certificates not found

   File Name:    objects/Opportunity.object
   Full Name:  Opportunity.Sale
   Action:  NO ACTION
   Result:  FAILED
   Problem: Picklist value: Sale not found

Does it mean I have to first create Stage picklist values using Salesforce UI and then deploy the other changes using Force.com Metadata API?

I have seen contradictory info when I googled for it. Any help will be much appreciated.

Regards,
Anindya
 

Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Anindya,

Deploying from Sandbox to Sandbox. please refer the below link for reference.
http://salesforce.stackexchange.com/questions/120574/sandbox-to-sandbox-copy-best-way/120598

I hope it will be helpful.

BestRegards
RahulKumar
Anindya ChattopadhyayAnindya Chattopadhyay
Hi Rahul:

Thanks for your reply. However we are not looking for a Sandbox to Sandbox cloning.

We have got a process of using Force.com IDE, along with Git repository as souce control.

Just wondering whether we can deploy changes for Standard Value Set using Force.com IDE at all.

Any help will be much appreciated.

Thanks and regards,
Anindya



 
Anindya ChattopadhyayAnindya Chattopadhyay
Hi

Any help with this one please?

Thanks
Anindya
Varun ShindeVarun Shinde
Hi,

You can just add the StandardValueSet to Package.XML in Force.Com IDE.
<types>
        <members>AccountType</members>
        <name>StandardValueSet</name>
 </types>

retrieve it make necessary changes and then deploy to various orgs.

Thanks,
Varun