Siebel Tools Reference > Repositories > Creating Patches >

Applying a Patch File


The patch upgrades the repository to which it is applied similarly to how the Application Upgrader does. The difference is that you do not have the opportunity to override the default conflict resolution rules. A conflict only occurs if an object property changes in both the source and the target repositories simultaneously.

For example, if you create a new Account field based on an extension column in the target repository, and then apply a patch from the source repository that includes the Account business component, the new field will not be overwritten in the target repository because the same new field has not been added in the source.

If you change the sort specification of the Account business component in the target repository, and the sort specification has not changed in the source, the new sort specification in the target will remain. However, if the sort specification has changed in both the source and the target, then a conflict arises for which a resolution is required.

The default conflict resolution rules can be read from the repository by looking at the Type object in Siebel Tools. It has a child object type called Attribute, which has a property called Siebel Wins (or Standard Wins in the Object List Editor). If this is set to TRUE, the value in the source repository is accepted. If FALSE, the value in the target repository is accepted.

To apply a patch

  1. In Siebel Tools, choose Tools > Utilities > Apply Patch.
  2. The Select Patch to Apply dialog box appears.

  3. Select the Siebel Patch (.spf) file, and then click Open.
  4. The Apply Patch - Preview window appears, and the patch is opened.

  5. Click Next.
  6. The Apply Patch - Summary window appears. The patch is loaded, the patch objects are compared to their corresponding repository objects, and then the patch is applied.

  7. Click Finish to exit.

 Siebel Tools Reference, Version 7.5, Rev. A 
 Published: 18 April 2003