Though a Partial or Complete restore of a meta data element usually works, sometimes it is necessary to edit the raw XML that will be deployed to Salesforce. The Export Mode restore type provides this feature plus a few others.
- The raw data for the current partial restore, any backup in Capstorm, or the current Salesforce definition can be loaded and edited.
- Differences between what will be deployed can be quickly compared with the current partial restore, any backup in Capstorm, or the current Salesforce definition.
- Finding all occurrences of a pattern can be quickly performed.
Note that in Export mode, the raw data to deploy for an object is stored in the copyStormRestore file as part of the restore session configuration.
To restore a meta data object using the Export mode, simply choose Expert from the restore type pull-down menu.
The metadata to load into the left or right panels is selected using two different pulldown menus.
- The “Base Version” pulldown loads metadata into the editor on the left.
- The “Compare With Version” pulldown loads metadata into the comparison viewer on the right.
You will see several types of options in the pulldown menu.
The following screen shots illustrate how differences are displayed when the metadata on the left and right differ. For the example an ApexTrigger metadata objects was selected.
There two techniques for searching metadata.
- Differences will be calculated automatically and can be systematically walked thru using arrow control on the right.
- Specific text can be found by entering a regular expression in the Find parameter. These, too, can be systematically walked thru using arrow controls on the right.