Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

I have one org, that I need to copy to an new org. It is a VERY simple structure - just Accounts, Contacts and Opps and 3 custom objects that are children of Opps. The business has split and they now need two orgs that start out the same. 

So I thought, easy, let's just use the Metadata API to copy from one org to another. 

Nope, not so easy. 

Here are the things I needed to do in my new Org to be able to simply Copy over the structure. 

Setup

  • Set Sharing Rules
  • Turn on State and Country Picklists
  • Turn on Multi Currency (which of course requires you to contact support, AFTER setting the Enable Multicurrency checkbox AND granting access to your Org). 

Account

  • Turn on History Tracking
  • Add all values to Standard Picklist Fields
  • Manually add RecordTypes
  • Remove CurrencyISOCode field until multi Currency is enabled. 
  • Delete all references to fields and weblinks and FieldSets from three managed packages that I probably won't install in the new org. 

Contact

  • Remove CurrencyISOCode field until multi Currency is enabled. 
  • Remove all Field History Tracking references
  • Delete all references to fields and weblinks and FieldSets from three managed packages that I probably won't install in the new org. 

Opportunity

  • Manually add RecordTypes
  • Remove all Field History Tracking references
  • Remove CurrencyISOCode field until multi Currency is enabled. 
  • Delete all references to weblinks from three managed packages that I probably won't install in the new org. 

Custom Objects

  • Create Custom Objects Manually
  • Create Record Types Manually
  • Create Page Layouts Manually
  • Set Feed Tracking on Custom Objects
  • Refresh metadata to bring in new Objects and Page Layouts into the Metadata




  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.