3

When preparing a changeset we usually added components like a custom object, custom fields, pages, trigger, components, etc. I'm wondering if there is any order a changeset would get executed in a target salesforce org?

Thanks,

1

1 Answer 1

3

I had looked into audit trail CSV file of my deployment to understands the dependencies and by looking at that file the order is as following:

  • Pages- i guess first it just deploy empty pages
  • Custom Objects - with just fields
    • Track Field History
    • Validation Rules
  • Custom fields on Standard object
  • Page layouts
  • Custom Tabs
  • Custom Apps
  • Apex Classes
  • Apex Trigger
  • Manage Users (Profiles)
  • Page - i guess this time it deploy the code and overwrite empty page
  • search layout

You can use "setup audit trail" option in setup menu to understand your deployment order.

2
  • I guess, Page can't be deployed first (they will have controllers/extension associated with them). Jul 11, 2014 at 6:01
  • No it just create empty create empty page first and after controller is deployed then it update the page. Jul 12, 2014 at 15:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .