[vc_row row_height_percent=”20″ back_image_auto=”yes” back_image=”66838″ overlay_alpha=”92″ gutter_size=”3″ column_width_percent=”80″ shift_y=”0″ z_index=”0″ el_class=”custom-height”][vc_column column_width_percent=”100″ override_padding=”yes” column_padding=”3″ overlay_alpha=”50″ gutter_size=”3″ medium_width=”0″ mobile_width=”0″ shift_x=”0″ shift_y=”0″ shift_y_down=”0″ z_index=”0″ width=”1/1″][vc_row_inner row_inner_height_percent=”0″ overlay_alpha=”50″ gutter_size=”3″ shift_y=”0″ z_index=”0″ css=”.vc_custom_1519812978751{margin-top: 20px !important;border-right-width: 20px !important;border-left-width: 20px !important;}”][vc_column_inner width=”1/1″][vc_column_text el_class=”simple-head-text”]Remove Bad References that Stop Deployments[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row][vc_row][vc_column width=”1/1″][vc_column_text el_class=”landing-page-content”]

Remove Bad References that Stop Deployments

The Deploy Metadata dialog has an option to “Remove References” that can prevent many problems from happening during a deployment. This option scans Profiles, Permission Sets, Page Layouts, and Custom Objects, and removes any references to assets that are not available in the destination org or included in the current Job List. References are only removed if they are guaranteed to make the deployment fail.

But sometimes you want to remove additional references. Different types of Salesforce orgs often have different standard Fields, Tabs, Applications, User Preferences, etc. These standard assets can’t be reliably discovered and automatically removed. Because of this, we added a “Manage” option to the right of the Remove References checkbox that allows additional assets to be specified by name. You can use an asterisk at the front or back of the name for wildcard matches.

So now, when you get a metadata error that some asset is missing on the destination org, you can add the missing asset name to the list of removed references and try the deployment again. You can also just right-click on the error message and add it that way. This option will save you countless hours that would have been spent cleaning out bad references by hand. More importantly, now you can easily deploy metadata assets between all of the different types of Salesforce orgs.



[email protected]

1 (833) METAZOA (638-2962)


Twitter: @metazoa4sf

Facebook: https://www.facebook.com/metazoa4sf

LinkedIn: https://www.linkedin.com/company/18493594/

[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width=”1/1″][vc_button border_width=”0″ link=”url:http%3A%2F%2Fwww.metazoa.com%2Fwp-content%2Fuploads%2F2018%2F06%2FRemove-references-.pdf||target:%20_blank|”]Download[/vc_button][/vc_column][/vc_row]