06 October 2012

Show all components on SFDC Change Set Component List



What’s annoying in creating outbound Change Set is that the component list does not remember previously selected component when navigating thru pages.


For example on the outbound change set component list:

1. I'm adding a custom field on the first page



2. I navigate to the next page and then selected another custom field.



3. When I click the 'Add to Change Set' only the last field was added.


It's counter productive because if you have a huge amount of components spread across different pages this would mean a lot of clicks.

However you can hack the URL to display all components. Here's the steps (as of summer '12):

  1. Assuming you already created the base Change Set and click the 'Add' button and selected the Component type. You need to click on the 'more' link at the bottom of the change set component list.
  2. When the page refreshes modify the browser URL such that the parameter rowsperpage parameter equal to amount of components you want to display (Usually around 1000 would work to display all components unless your Instance really has a lot of stuff).

That's it! You will be able to see at least a large set of components and you don't need to navigate or experience the hassle that SFDC doesn't save your previous selection.

Note that this is also the same URL hacks you can use for sharing rules list etc. :-)